Skip to content

Commit

Permalink
skip a test if the signal to be sent is not available
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Nov 25, 2022
1 parent f2dd071 commit 3042c61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/ApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1945,6 +1945,10 @@ public function testSignalSubscriber()
*/
public function testSetSignalsToDispatchEvent()
{
if (!\defined('SIGUSR1')) {
$this->markTestSkipped('SIGUSR1 not available');
}

$command = new BaseSignableCommand();

$subscriber = new SignalEventSubscriber();
Expand Down

0 comments on commit 3042c61

Please sign in to comment.