]> source.dussan.org Git - nextcloud-server.git/commitdiff
Proper WHERE – the table is called userid not user
authorkondou <kondou@ts.unde.re>
Tue, 6 Aug 2013 15:31:50 +0000 (17:31 +0200)
committerkondou <kondou@ts.unde.re>
Tue, 6 Aug 2013 15:31:50 +0000 (17:31 +0200)
tests/lib/preferences.php

index 18e1cde8488363494233def14895498b90cced3f..612cc81926ba8e33302513f89b5dde73d42e2617 100644 (file)
@@ -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'));