File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Messenger/Tests/EventListener Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public function testWorkerStopsWhenMemoryLimitExceeded(?int $lastRestartTimeOffs
30
30
{
31
31
$ cachePool = $ this ->createMock (CacheItemPoolInterface::class);
32
32
$ cacheItem = $ this ->createMock (CacheItemInterface::class);
33
- $ cacheItem ->expects ($ this ->once ())->method ('isHIt ' )->willReturn (true );
33
+ $ cacheItem ->expects ($ this ->once ())->method ('isHit ' )->willReturn (true );
34
34
$ cacheItem ->expects ($ this ->once ())->method ('get ' )->willReturn (null === $ lastRestartTimeOffset ? null : time () + $ lastRestartTimeOffset );
35
35
$ cachePool ->expects ($ this ->once ())->method ('getItem ' )->willReturn ($ cacheItem );
36
36
@@ -54,7 +54,7 @@ public function testWorkerDoesNotStopIfRestartNotInCache()
54
54
{
55
55
$ cachePool = $ this ->createMock (CacheItemPoolInterface::class);
56
56
$ cacheItem = $ this ->createMock (CacheItemInterface::class);
57
- $ cacheItem ->expects ($ this ->once ())->method ('isHIt ' )->willReturn (false );
57
+ $ cacheItem ->expects ($ this ->once ())->method ('isHit ' )->willReturn (false );
58
58
$ cacheItem ->expects ($ this ->never ())->method ('get ' );
59
59
$ cachePool ->expects ($ this ->once ())->method ('getItem ' )->willReturn ($ cacheItem );
60
60
You can’t perform that action at this time.
0 commit comments