Skip to content

Commit a71863e

Browse files
committed
Merge branch '6.0' into 6.1
* 6.0: parse unquoted digits in tag values as integers do not wire the MercureTransportFactory if the MercureBundle is not enabled skip tests if the signal to be sent is not available skip a test if the signal to be sent is not available
2 parents 33027e5 + be29442 commit a71863e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Tests/ApplicationTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,6 +1945,10 @@ public function testSignalSubscriber()
19451945
*/
19461946
public function testSetSignalsToDispatchEvent()
19471947
{
1948+
if (!\defined('SIGUSR1')) {
1949+
$this->markTestSkipped('SIGUSR1 not available');
1950+
}
1951+
19481952
$command = new BaseSignableCommand();
19491953

19501954
$subscriber = new SignalEventSubscriber();
@@ -1977,6 +1981,10 @@ public function testSignalableCommandInterfaceWithoutSignals()
19771981

19781982
public function testSignalableCommandHandlerCalledAfterEventListener()
19791983
{
1984+
if (!\defined('SIGUSR1')) {
1985+
$this->markTestSkipped('SIGUSR1 not available');
1986+
}
1987+
19801988
$command = new SignableCommand();
19811989

19821990
$subscriber = new SignalEventSubscriber();

0 commit comments

Comments
 (0)