Skip to content

Commit fefcc18

Browse files
committed
[Console] Fix tests
1 parent 722fa7c commit fefcc18

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

Tests/ApplicationTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ protected function tearDown(): void
7979
pcntl_signal(\SIGTERM, \SIG_DFL);
8080
pcntl_signal(\SIGUSR1, \SIG_DFL);
8181
pcntl_signal(\SIGUSR2, \SIG_DFL);
82+
pcntl_signal(\SIGALRM, \SIG_DFL);
8283
}
8384
}
8485

Tests/ConsoleEventsTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ protected function tearDown(): void
3939
pcntl_signal(\SIGTERM, \SIG_DFL);
4040
pcntl_signal(\SIGUSR1, \SIG_DFL);
4141
pcntl_signal(\SIGUSR2, \SIG_DFL);
42+
pcntl_signal(\SIGALRM, \SIG_DFL);
4243
}
4344
}
4445

Tests/SignalRegistry/SignalRegistryTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ protected function tearDown(): void
2727
pcntl_signal(\SIGTERM, \SIG_DFL);
2828
pcntl_signal(\SIGUSR1, \SIG_DFL);
2929
pcntl_signal(\SIGUSR2, \SIG_DFL);
30+
pcntl_signal(\SIGALRM, \SIG_DFL);
3031
}
3132

3233
public function testOneCallbackForASignalSignalIsHandled()

0 commit comments

Comments
 (0)