There was an error while loading. Please reload this page.
1 parent ee12753 commit e96794aCopy full SHA for e96794a
1 file changed
tests/DynamoDbCacheBuilderTest.php
@@ -6,7 +6,6 @@
6
use DateTimeInterface;
7
use Psr\Clock\ClockInterface;
8
use ReflectionObject;
9
-use Rikudou\Clock\Clock;
10
use Rikudou\DynamoDbCache\Converter\CacheItemConverterRegistry;
11
use Rikudou\DynamoDbCache\DynamoDbCache;
12
use Rikudou\DynamoDbCache\DynamoDbCacheBuilder;
@@ -53,7 +52,7 @@ public function testImmutability()
53
52
{
54
$registry = new CacheItemConverterRegistry();
55
$encoder = new JsonItemEncoder();
56
- $clock = new Clock();
+ $clock = ClockHelper::psrClock();
57
58
self::assertNotSame($this->instance, $this->instance->withClock($clock));
59
self::assertNotSame($this->instance, $this->instance->withConverterRegistry($registry));
0 commit comments