File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function loadConfiguration()
3333
3434 $ container ->addDefinition ($ this ->prefix ('journal ' ))
3535 ->setClass ('Nette\Caching\Storages\IJournal ' )
36- ->setFactory ('Nette\Caching\Storages\FileJournal ' , array ($ this ->tempDir ));
36+ ->setFactory ('Nette\Caching\Storages\SQLiteJournal ' , array ($ this ->tempDir . ' /cache/journal.s3db ' ));
3737
3838 $ container ->addDefinition ($ this ->prefix ('storage ' ))
3939 ->setClass ('Nette\Caching\IStorage ' )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ test(function() {
2222 $ container ->initialize ();
2323
2424 $ journal = $ container ->getService ('cache.journal ' );
25- Assert::type ('Nette\Caching\Storages\FileJournal ' , $ journal );
25+ Assert::type ('Nette\Caching\Storages\SQLiteJournal ' , $ journal );
2626
2727 $ storage = $ container ->getService ('cache.storage ' );
2828 Assert::type ('Nette\Caching\Storages\FileStorage ' , $ storage );
You can’t perform that action at this time.
0 commit comments