Skip to content

Commit 080568d

Browse files
committed
tests: SQLiteJournal does not use :memory: storage [Rel #25]
1 parent 2178eb3 commit 080568d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Caching/SQLiteJournal.phpt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class SQLiteJournalTest extends IJournalTestCase
2121

2222
public function createJournal()
2323
{
24-
return new SQLiteJournal;
24+
static $id = 0;
25+
return new SQLiteJournal(TEMP_DIR . '/sqlitejournal_' . ++$id . '.sqlite');
2526
}
2627

2728
}

0 commit comments

Comments
 (0)