test: cleanup users before userbackend test

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2026-06-08 14:44:32 +02:00
parent e01a54c53a
commit 1f96118ef9

View file

@ -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]