Skip to content

Commit

Permalink
[Console] Fix a test when pcntl is not available (following #48329)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeahDude committed Dec 17, 2022
1 parent 8e9b9c8 commit 9bd719e
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 @@ -1969,6 +1969,10 @@ public function testSetSignalsToDispatchEvent()

public function testSignalableCommandInterfaceWithoutSignals()
{
if (!\defined('SIGUSR1')) {
$this->markTestSkipped('SIGUSR1 not available');
}

$command = new SignableCommand(false);

$dispatcher = new EventDispatcher();
Expand Down

0 comments on commit 9bd719e

Please sign in to comment.