diff --git a/tests/unit/WizardTest.php b/tests/unit/WizardTest.php index 81d2e22c5..98b7b94b0 100644 --- a/tests/unit/WizardTest.php +++ b/tests/unit/WizardTest.php @@ -125,8 +125,7 @@ private function prepareLdapWrapperForConnections() { //dummy value, usually invalid ->will($this->returnValue(true)); - $this->ldap->expects($this->exactly(3)) - ->method('setOption') + $this->ldap->method('setOption') ->will($this->returnValue(true)); $this->ldap->expects($this->once())