mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 13:50:23 +02:00
test: add failing mastodon test (#3255)
* fix: refactor cache factory * test: add failing test * add null cache
This commit is contained in:
30
caches/NullCache.php
Normal file
30
caches/NullCache.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
class NullCache implements CacheInterface
|
||||
{
|
||||
public function setScope($scope)
|
||||
{
|
||||
}
|
||||
|
||||
public function setKey($key)
|
||||
{
|
||||
}
|
||||
|
||||
public function loadData()
|
||||
{
|
||||
}
|
||||
|
||||
public function saveData($data)
|
||||
{
|
||||
}
|
||||
|
||||
public function getTime()
|
||||
{
|
||||
}
|
||||
|
||||
public function purgeCache($seconds)
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user