mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 07:09:34 +02:00
feat: add filecache config to enable/disable real purge (#3263)
* refactor: cachefactory * feat: add filecache config to enable/disable real purge * test: fix test
This commit is contained in:
parent
007f2b2d8a
commit
058e792b8f
4 changed files with 35 additions and 12 deletions
|
@ -28,7 +28,7 @@ final class UtilsTest extends TestCase
|
|||
|
||||
public function testFileCache()
|
||||
{
|
||||
$sut = new \FileCache();
|
||||
$sut = new \FileCache(['enable_purge' => true]);
|
||||
$sut->setScope('scope');
|
||||
$sut->purgeCache(-1);
|
||||
$sut->setKey(['key']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue