Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 22, 2014
1 parent 3c7ac2a commit 354dbbf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions framework/Prefs/test/Horde/Prefs/Unit/Storage/Sql/Base.php
Expand Up @@ -73,8 +73,10 @@ public static function setUpBeforeClass()
array('migrationsPath' => $dir,
'schemaTableName' => 'horde_prefs_test_schema'));
self::$migrator->up();
self::$db->insert('INSERT INTO horde_prefs (pref_uid, pref_scope, pref_name, pref_value) VALUES (?, ?, ?, ?)',
array('joe', 'horde', 'theme', 'silver'));
self::$db->insert(
'INSERT INTO horde_prefs (pref_uid, pref_scope, pref_name, pref_value) VALUES (?, ?, ?, ?)',
array('joe', 'horde', 'theme', new Horde_Db_Value_Binary('silver'))
);

self::$prefs = new Horde_Prefs_Storage_Sql('joe', array('db' => self::$db));
}
Expand Down

0 comments on commit 354dbbf

Please sign in to comment.