diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2016-09-27 23:54:37 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-13 01:06:45 +0200 |
commit | c4fcd1f282132cdea2cb97c162b2b461e022390a (patch) | |
tree | 5ac3d78f541bebc375ec93d1ee447027c5d5689d /apps/user_ldap/tests/ConnectionTest.php | |
parent | 011d5f554c1fcc2896c8798c9ef29b59af7b2692 (diff) | |
download | nextcloud-server-c4fcd1f282132cdea2cb97c162b2b461e022390a.tar.gz nextcloud-server-c4fcd1f282132cdea2cb97c162b2b461e022390a.zip |
Update tests for phunit 5.5
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/tests/ConnectionTest.php')
-rw-r--r-- | apps/user_ldap/tests/ConnectionTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/ConnectionTest.php b/apps/user_ldap/tests/ConnectionTest.php index fcff65efb33..e013773b7d9 100644 --- a/apps/user_ldap/tests/ConnectionTest.php +++ b/apps/user_ldap/tests/ConnectionTest.php @@ -47,9 +47,9 @@ class ConnectionTest extends \Test\TestCase { $this->ldap = $this->createMock(ILDAPWrapper::class); // we use a mock here to replace the cache mechanism, due to missing DI in LDAP backend. $this->connection = $this->getMockBuilder('OCA\User_LDAP\Connection') - ->setMethods(['getFromCache', 'writeToCache']) - ->setConstructorArgs([$this->ldap, '', null]) - ->getMock(); + ->setMethods(['getFromCache', 'writeToCache']) + ->setConstructorArgs([$this->ldap, '', null]) + ->getMock(); $this->ldap->expects($this->any()) ->method('areLDAPFunctionsAvailable') |