8000 Fix tests typo · symfony/symfony@047ce05 · GitHub
[go: up one dir, main page]

Skip to content

Commit 047ce05

Browse files
committed
Fix tests typo
1 parent 1549897 commit 047ce05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Messenger/Tests/EventListener/StopWorkerOnRestartSignalListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)
0