From 32fb6beac3fe9b202ed4a52f3a2bfede72cbc19b Mon Sep 17 00:00:00 2001 From: root Date: Wed, 27 Jul 2016 15:10:35 +0800 Subject: final changes --- apps/user_ldap/tests/Jobs/CleanUpTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/user_ldap/tests') diff --git a/apps/user_ldap/tests/Jobs/CleanUpTest.php b/apps/user_ldap/tests/Jobs/CleanUpTest.php index 4785a227d26..45e7998da01 100644 --- a/apps/user_ldap/tests/Jobs/CleanUpTest.php +++ b/apps/user_ldap/tests/Jobs/CleanUpTest.php @@ -37,7 +37,7 @@ class CleanUpTest extends \Test\TestCase { ->getMock(); $mocks['ocConfig'] = $this->getMock('\OCP\IConfig'); $mocks['db'] = $this->getMock('\OCP\IDBConnection'); - $mocks['helper'] = new \OCA\User_LDAP\Helper(); + $mocks['helper'] = $this->getMock('\OCA\User_LDAP\Helper'); return $mocks; } -- cgit v1.2.3