diff options
Diffstat (limited to 'apps/user_ldap/tests/HelperTest.php')
-rw-r--r-- | apps/user_ldap/tests/HelperTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/user_ldap/tests/HelperTest.php b/apps/user_ldap/tests/HelperTest.php index af4d24739be..a9b889dbc55 100644 --- a/apps/user_ldap/tests/HelperTest.php +++ b/apps/user_ldap/tests/HelperTest.php @@ -67,7 +67,7 @@ class HelperTest extends \Test\TestCase { ]); $this->config->method('getAppValue') - ->will($this->returnCallback(function($app, $key, $default) { + ->willReturnCallback(function($app, $key, $default) { if ($app !== 'user_ldap') { $this->fail('wrong app'); } @@ -75,7 +75,7 @@ class HelperTest extends \Test\TestCase { return '1'; } return $default; - })); + }); $result = $this->helper->getServerConfigurationPrefixes(true); @@ -93,7 +93,7 @@ class HelperTest extends \Test\TestCase { ]); $this->config->method('getAppValue') - ->will($this->returnCallback(function($app, $key, $default) { + ->willReturnCallback(function($app, $key, $default) { if ($app !== 'user_ldap') { $this->fail('wrong app'); } @@ -104,7 +104,7 @@ class HelperTest extends \Test\TestCase { return 'foo.bar.com'; } return $default; - })); + }); $result = $this->helper->getServerConfigurationHosts(); |