summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests/jobs/cleanup.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/tests/jobs/cleanup.php')
-rw-r--r--apps/user_ldap/tests/jobs/cleanup.php24
1 files changed, 0 insertions, 24 deletions
diff --git a/apps/user_ldap/tests/jobs/cleanup.php b/apps/user_ldap/tests/jobs/cleanup.php
index 642bad57134..78bda66c54f 100644
--- a/apps/user_ldap/tests/jobs/cleanup.php
+++ b/apps/user_ldap/tests/jobs/cleanup.php
@@ -106,30 +106,6 @@ class Test_CleanUp extends \PHPUnit_Framework_TestCase {
}
/**
- * test whether sql is OK
- */
- public function test_getMappedUsers() {
- $args = $this->getMocks();
-
- $bgJob = new \OCA\User_LDAP\Jobs\CleanUp();
- $bgJob->setArguments($args);
-
- if(version_compare(\PHPUnit_Runner_Version::id(), '3.8', '<')) {
- //otherwise we run into
- //https://github.com/sebastianbergmann/phpunit-mock-objects/issues/103
- $this->markTestIncomplete();
- }
-
- $stmt = $this->getMock('\Doctrine\DBAL\Driver\Statement');
-
- $args['db']->expects($this->once())
- ->method('prepare')
- ->will($this->returnValue($stmt));
-
- $bgJob->getMappedUsers(0, $bgJob->getChunkSize());
- }
-
- /**
* check whether offset will be reset when it needs to
*/
public function test_OffsetResetIsNecessary() {