aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/user/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/user/database.php')
-rw-r--r--tests/lib/user/database.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/user/database.php b/tests/lib/user/database.php
index d7cc39ae387..a8e497720c2 100644
--- a/tests/lib/user/database.php
+++ b/tests/lib/user/database.php
@@ -32,6 +32,9 @@ class Test_User_Database extends Test_User_Backend {
}
public function tearDown() {
+ if(!isset($this->users)) {
+ return;
+ }
foreach($this->users as $user) {
$this->backend->deleteUser($user);
}