diff options
Diffstat (limited to 'tests/lib/appconfig.php')
-rw-r--r-- | tests/lib/appconfig.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/lib/appconfig.php b/tests/lib/appconfig.php index 188721ff92d..ead5b859277 100644 --- a/tests/lib/appconfig.php +++ b/tests/lib/appconfig.php @@ -11,6 +11,12 @@ class Test_Appconfig extends \Test\TestCase { public static function setUpBeforeClass() { parent::setUpBeforeClass(); + $query = \OC_DB::prepare('DELETE FROM `*PREFIX*appconfig` WHERE `appid` = ?'); + $query->execute(array('testapp')); + $query->execute(array('someapp')); + $query->execute(array('123456')); + $query->execute(array('anotherapp')); + $query = \OC_DB::prepare('INSERT INTO `*PREFIX*appconfig` VALUES (?, ?, ?)'); $query->execute(array('testapp', 'enabled', 'true')); |