Skip to content

Commit 60d93a9

Browse files
committed
Fix PHPUnit deprecation
1 parent 9ed0d22 commit 60d93a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/E2E/TerminateCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public function testSigTermDuringSleep(int $signal, int $exitCode): void
112112
$this->assertCommandIsFound($process);
113113
$this->assertStringContainsString('Starting ' . self::STUB_COMMAND, $process->getOutput());
114114
$this->assertStringNotContainsString('Signal received, skipping execution', $process->getOutput());
115-
$this->assertRegExp('/Slept (0|1) second\(s\)/', $process->getOutput());
115+
$this->assertMatchesRegularExpression('/Slept (0|1) second\(s\)/', $process->getOutput());
116116
$this->assertSame($exitCode, $process->getExitCode());
117117
}
118118

0 commit comments

Comments
 (0)