diff options
author | kondou <kondou@ts.unde.re> | 2013-08-06 17:31:50 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-06 17:31:50 +0200 |
commit | 6c78152564b8d7a5512072867e80a50a55856714 (patch) | |
tree | e63d326f73c91f59114fad13e4cc6936a7072bdb /tests/lib/preferences.php | |
parent | b8bfebe51e6d4c007a6dcd3fcb56e4684704af24 (diff) | |
download | nextcloud-server-6c78152564b8d7a5512072867e80a50a55856714.tar.gz nextcloud-server-6c78152564b8d7a5512072867e80a50a55856714.zip |
Proper WHERE – the table is called userid not user
Diffstat (limited to 'tests/lib/preferences.php')
-rw-r--r-- | tests/lib/preferences.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/preferences.php b/tests/lib/preferences.php index 18e1cde8488..612cc81926b 100644 --- a/tests/lib/preferences.php +++ b/tests/lib/preferences.php @@ -29,7 +29,7 @@ class Test_Preferences extends PHPUnit_Framework_TestCase { } public static function tearDownAfterClass() { - $query = \OC_DB::prepare('DELETE FROM `*PREFIX*preferences` WHERE `user` = ?'); + $query = \OC_DB::prepare('DELETE FROM `*PREFIX*preferences` WHERE `userid` = ?'); $query->execute(array('Someuser')); $query->execute(array('Anotheruser')); $query->execute(array('Anuser')); |