diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-08-15 16:43:22 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-08-15 16:43:22 +0200 |
commit | 7ffb7b0d846241c8cc6b45a3c85b2374c6d026ae (patch) | |
tree | 8472e73eb69f8495405231d44e1d580cbd0942bd /apps/user_ldap/tests/Settings/SectionTest.php | |
parent | 8a7a0f328746230dd896ccc53b3ada271a91b930 (diff) | |
download | nextcloud-server-7ffb7b0d846241c8cc6b45a3c85b2374c6d026ae.tar.gz nextcloud-server-7ffb7b0d846241c8cc6b45a3c85b2374c6d026ae.zip |
Use MockBuilder instead of createMock
CI uses an older PHPUnit
Diffstat (limited to 'apps/user_ldap/tests/Settings/SectionTest.php')
-rw-r--r-- | apps/user_ldap/tests/Settings/SectionTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/tests/Settings/SectionTest.php b/apps/user_ldap/tests/Settings/SectionTest.php index b5b1f97ce3c..2d2165b8e56 100644 --- a/apps/user_ldap/tests/Settings/SectionTest.php +++ b/apps/user_ldap/tests/Settings/SectionTest.php @@ -35,7 +35,7 @@ class SectionTest extends TestCase { public function setUp() { parent::setUp(); - $this->l = $this->createMock('\OCP\IL10N'); + $this->l = $this->getMockBuilder('\OCP\IL10N')->getMock(); $this->section = new Section( $this->l |