1
0
mirror of https://github.com/flarum/core.git synced 2025-07-30 21:20:24 +02:00

Rename caching setting repository implementation

I'm foreseeing another implementation that uses real caching (across requests).
This commit is contained in:
Franz Liedke
2015-07-16 00:10:52 +02:00
parent 6a7889934c
commit 31e9f44dfb
3 changed files with 5 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ use Flarum\Core\Settings\SettingsRepository;
use PhpSpec\ObjectBehavior;
use Prophecy\Argument;
class CachedSettingsRepositorySpec extends ObjectBehavior
class MemoryCacheSettingsRepositorySpec extends ObjectBehavior
{
function let(SettingsRepository $inner)
{
@@ -15,7 +15,7 @@ class CachedSettingsRepositorySpec extends ObjectBehavior
function it_is_initializable()
{
$this->shouldHaveType('Flarum\Core\Settings\CachedSettingsRepository');
$this->shouldHaveType('Flarum\Core\Settings\MemoryCacheSettingsRepository');
}
function it_retrieves_data_from_inner(SettingsRepository $inner)