Skip to content

Commit 1d1b360

Browse files
milodg
authored andcommitted
tests: run SQLiteStorage tests in memory
1 parent 278923e commit 1d1b360

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Caching/SQLiteStorage.basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if (!extension_loaded('pdo_sqlite')) {
2121
$key = array(1, TRUE);
2222
$value = range("\x00", "\xFF");
2323

24-
$cache = new Cache(new SQLiteStorage(TEMP_DIR . '/db.db3'));
24+
$cache = new Cache(new SQLiteStorage);
2525

2626
Assert::null( $cache->load($key) );
2727

tests/Caching/SQLiteStorage.tags.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (!extension_loaded('pdo_sqlite')) {
1717
}
1818

1919

20-
$cache = new Cache(new SQLiteStorage(TEMP_DIR . '/db.db3'));
20+
$cache = new Cache(new SQLiteStorage);
2121

2222

2323
// Writing cache...

0 commit comments

Comments
 (0)