diff options
Diffstat (limited to 'apps/user_ldap/tests/Jobs/CleanUpTest.php')
-rw-r--r-- | apps/user_ldap/tests/Jobs/CleanUpTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |