From: kondou Date: Tue, 6 Aug 2013 15:31:50 +0000 (+0200) Subject: Proper WHERE – the table is called userid not user X-Git-Tag: v6.0.0alpha2~343^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6c78152564b8d7a5512072867e80a50a55856714;p=nextcloud-server.git Proper WHERE – the table is called userid not user --- 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'));