Skip to content

Commit 6a9984c

Browse files
committed
Remove with() from modified test
1 parent 84e7862 commit 6a9984c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Messenger/Tests/Command/StopWorkersCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function testItSetsCacheItem()
2323
{
2424
$cachePool = $this->createMock(CacheItemPoolInterface::class);
2525
$cacheItem = $this->createMock(CacheItemInterface::class);
26-
$cacheItem->expects($this->once())->method('set')->with();
26+
$cacheItem->expects($this->once())->method('set');
2727
$cachePool->expects($this->once())->method('getItem')->willReturn($cacheItem);
2828
$cachePool->expects($this->once())->method('save')->with($cacheItem);
2929

0 commit comments

Comments
 (0)