diff options
Diffstat (limited to 'apps/user_ldap/tests')
-rw-r--r-- | apps/user_ldap/tests/User/DeletedUsersIndexTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/tests/User/DeletedUsersIndexTest.php b/apps/user_ldap/tests/User/DeletedUsersIndexTest.php index b3cf076e973..916b5119ce0 100644 --- a/apps/user_ldap/tests/User/DeletedUsersIndexTest.php +++ b/apps/user_ldap/tests/User/DeletedUsersIndexTest.php @@ -55,6 +55,9 @@ class DeletedUsersIndexTest extends \Test\TestCase { $this->config = \OC::$server->getConfig(); $this->db = \OC::$server->getDatabaseConnection(); + // ensure a clean database + $this->config->deleteAppFromAllUsers('user_ldap'); + $this->mapping = $this->createMock(UserMapping::class); $this->dui = new DeletedUsersIndex($this->config, $this->db, $this->mapping); |