Skip to content

Commit 35cb1f3

Browse files
committed
reset in SignalTest
1 parent 61f309c commit 35cb1f3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/system/CLI/SignalTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ protected function setUp(): void
5353
$this->command = new SignalCommand($this->logger, service('commands'));
5454
}
5555

56+
protected function tearDown(): void
57+
{
58+
CLI::reset();
59+
60+
parent::tearDown();
61+
}
62+
5663
public function testSignalRegistration(): void
5764
{
5865
$this->command->testRegisterSignals([SIGTERM, SIGINT], [SIGTERM => 'customTermHandler']);

0 commit comments

Comments
 (0)