Skip to content

Commit 56d7d02

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: properly skip signal test if the pcntl extension is not installed ensure that all supported e-mail validation modes can be configured [Security][LoginLink] Throw InvalidLoginLinkException on invalid parameters don't hardcode OS-depending constant values
2 parents 0e2e3f3 + 7d29659 commit 56d7d02

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Tests/SignalRegistry/SignalMapTest.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,13 @@ class SignalMapTest extends TestCase
1818
{
1919
/**
2020
* @requires extension pcntl
21-
*
22-
* @testWith [2, "SIGINT"]
23-
* [9, "SIGKILL"]
24-
* [15, "SIGTERM"]
25-
* [31, "SIGSYS"]
2621
*/
27-
public function testSignalExists(int $signal, string $expected)
22+
public function testSignalExists()
2823
{
29-
$this->assertSame($expected, SignalMap::getSignalName($signal));
24+
$this->assertSame('SIGINT', SignalMap::getSignalName(\SIGINT));
25+
$this->assertSame('SIGKILL', SignalMap::getSignalName(\SIGKILL));
26+
$this->assertSame('SIGTERM', SignalMap::getSignalName(\SIGTERM));
27+
$this->assertSame('SIGSYS', SignalMap::getSignalName(\SIGSYS));
3028
}
3129

3230
public function testSignalDoesNotExist()

0 commit comments

Comments
 (0)