Skip to content

Commit 54f790f

Browse files
committed
Merge branch '6.1' into 6.2
* 6.1: 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 42af19c + a71863e commit 54f790f

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
@@ -1961,6 +1961,10 @@ public function testSignalSubscriber()
19611961
*/
19621962
public function testSetSignalsToDispatchEvent()
19631963
{
1964+
if (!\defined('SIGUSR1')) {
1965+
$this->markTestSkipped('SIGUSR1 not available');
1966+
}
1967+
19641968
$command = new BaseSignableCommand();
19651969

19661970
$subscriber = new SignalEventSubscriber();
@@ -1993,6 +1997,10 @@ public function testSignalableCommandInterfaceWithoutSignals()
19931997

19941998
public function testSignalableCommandHandlerCalledAfterEventListener()
19951999
{
2000+
if (!\defined('SIGUSR1')) {
2001+
$this->markTestSkipped('SIGUSR1 not available');
2002+
}
2003+
19962004
$command = new SignableCommand();
19972005

19982006
$subscriber = new SignalEventSubscriber();

0 commit comments

Comments
 (0)