ensure db is pristine before starting the tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
85f14bc591
commit
925043c60c
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue