From 743e9c72d2586315803c440a51d3b520837f707a Mon Sep 17 00:00:00 2001 From: Akash Karangale Date: Fri, 1 Mar 2024 15:53:57 +0530 Subject: [PATCH] GL-2039-1: Added assertion to kill MethodCallRemoval mutant. --- .../src/Commands/CodeStudio/CodeStudioWizardCommandTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/src/Commands/CodeStudio/CodeStudioWizardCommandTest.php b/tests/phpunit/src/Commands/CodeStudio/CodeStudioWizardCommandTest.php index f95081b0b..5632bd9ac 100644 --- a/tests/phpunit/src/Commands/CodeStudio/CodeStudioWizardCommandTest.php +++ b/tests/phpunit/src/Commands/CodeStudio/CodeStudioWizardCommandTest.php @@ -351,6 +351,7 @@ public function testCommand(array $mockedGitlabProjects, array $inputs, array $a /** @var Filesystem|ObjectProphecy $fileSystem */ $fileSystem = $this->prophet->prophesize(Filesystem::class); $checkList = $this->prophet->prophesize(Checklist::class); + $checkList->addItem()->shouldBeCalled(); $checkList->completePreviousItem()->shouldBeCalled(); // Set properties and execute. $this->executeCommand($args, $inputs);