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()
33
33
34
34
$ container ->addDefinition ($ this ->prefix ('journal ' ))
35
35
->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 ' ));
37
37
38
38
$ container ->addDefinition ($ this ->prefix ('storage ' ))
39
39
->setClass ('Nette\Caching\IStorage ' )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ test(function() {
22
22
$ container ->initialize ();
23
23
24
24
$ journal = $ container ->getService ('cache.journal ' );
25
- Assert::type ('Nette\Caching\Storages\FileJournal ' , $ journal );
25
+ Assert::type ('Nette\Caching\Storages\SQLiteJournal ' , $ journal );
26
26
27
27
$ storage = $ container ->getService ('cache.storage ' );
28
28
Assert::type ('Nette\Caching\Storages\FileStorage ' , $ storage );
You can’t perform that action at this time.
0 commit comments