Skip to content

Commit 6848044

Browse files
committed
Fix
1 parent 518302d commit 6848044

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

compiler/tests/Console/CompileCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ public function testCommand(): void
4444

4545
$command = $application->find('phpstan:compile');
4646
$commandTester = new CommandTester($command);
47-
$commandTester->execute([
47+
$exitCode = $commandTester->execute([
4848
'command' => $command->getName(),
4949
]);
5050

51-
self::assertSame('', $commandTester->getDisplay());
51+
self::assertSame(0, $exitCode);
5252
}
5353

5454
}

0 commit comments

Comments
 (0)