Skip to content

Commit 49862a0

Browse files
committed
Add assertion to avoid risky test
1 parent ba1baef commit 49862a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Wrep/Daemonizable/Command/EndlessCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function testInterruptSigtermFromDifferentContext()
8181
$input = $this->createMock(InputInterface::class);
8282
$output = $this->createMock(OutputInterface::class);
8383

84-
$cmd->run($input, $output);
84+
$this->assertSame(0, $cmd->run($input, $output), 'Default exit code is not 0');
8585
}
8686
}
8787

0 commit comments

Comments
 (0)