diff --git a/test/Unit/Command/NormalizeCommandTest.php b/test/Unit/Command/NormalizeCommandTest.php index b27d9031..5357f266 100644 --- a/test/Unit/Command/NormalizeCommandTest.php +++ b/test/Unit/Command/NormalizeCommandTest.php @@ -657,26 +657,6 @@ public function testExecuteSucceedsIfComposerLockFileExistsIsFreshComposerFileIs ->shouldBeCalled() ->willReturn($locker); - /** - * @see \Symfony\Component\Console\Tester\CommandTester::execute() - */ - $definition = $this->prophesize(Console\Input\InputDefinition::class); - - $definition - ->hasArgument('command') - ->shouldBeCalled() - ->willReturn(false); - - $definition - ->getArguments() - ->shouldBeCalled() - ->willReturn([]); - - $definition - ->getOptions() - ->shouldBeCalled() - ->willReturn([]); - $application = $this->prophesize(Application::class); $application @@ -687,7 +667,7 @@ public function testExecuteSucceedsIfComposerLockFileExistsIsFreshComposerFileIs $application ->getDefinition() ->shouldBeCalled() - ->willReturn($definition); + ->willReturn($this->createDefinitionProphecy()); $application ->run(