Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorprogger committed Jan 18, 2024
1 parent a13faf4 commit 111f06d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Command/RunCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ final class RunCommandTest extends TestCase
{
public function testConfigure(): void
{
$command = new RunCommand($this->createMock(QueueFactoryInterface::class));
$command = new RunCommand($this->createMock(QueueFactoryInterface::class), []);
$channelArgument = $command->getNativeDefinition()->getArgument('channel');
$this->assertEquals('channel', $channelArgument->getName());
}
Expand All @@ -28,7 +28,7 @@ public function testExecute(): void
$queueFactory->method('get')->willReturn($queue);
$input = new StringInput('channel');

$command = new RunCommand($queueFactory);
$command = new RunCommand($queueFactory, []);
$exitCode = $command->run($input, $this->createMock(OutputInterface::class));

$this->assertEquals(0, $exitCode);
Expand Down

0 comments on commit 111f06d

Please sign in to comment.