mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
test: cleanup users before userbackend test
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
e01a54c53a
commit
1f96118ef9
1 changed files with 4 additions and 0 deletions
|
|
@ -43,6 +43,10 @@ class DatabaseTest extends Backend {
|
|||
$this->eventDispatcher = $this->createMock(IEventDispatcher::class);
|
||||
|
||||
$this->backend = new Database($this->eventDispatcher);
|
||||
|
||||
foreach ($this->backend->getUsers() as $user) {
|
||||
$this->backend->deleteUser($user);
|
||||
}
|
||||
}
|
||||
|
||||
#[\Override]
|
||||
|
|
|
|||
Loading…
Reference in a new issue