File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 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
3030 {
3131 $ cachePool = $ this ->createMock (CacheItemPoolInterface::class);
3232 $ cacheItem = $ this ->createMock (CacheItemInterface::class);
33- $ cacheItem ->expects ($ this ->once ())->method ('isHIt ' )->willReturn (true );
33+ $ cacheItem ->expects ($ this ->once ())->method ('isHit ' )->willReturn (true );
3434 $ cacheItem ->expects ($ this ->once ())->method ('get ' )->willReturn (null === $ lastRestartTimeOffset ? null : time () + $ lastRestartTimeOffset );
3535 $ cachePool ->expects ($ this ->once ())->method ('getItem ' )->willReturn ($ cacheItem );
3636
@@ -54,7 +54,7 @@ public function testWorkerDoesNotStopIfRestartNotInCache()
5454 {
5555 $ cachePool = $ this ->createMock (CacheItemPoolInterface::class);
5656 $ cacheItem = $ this ->createMock (CacheItemInterface::class);
57- $ cacheItem ->expects ($ this ->once ())->method ('isHIt ' )->willReturn (false );
57+ $ cacheItem ->expects ($ this ->once ())->method ('isHit ' )->willReturn (false );
5858 $ cacheItem ->expects ($ this ->never ())->method ('get ' );
5959 $ cachePool ->expects ($ this ->once ())->method ('getItem ' )->willReturn ($ cacheItem );
6060
You can’t perform that action at this time.
0 commit comments