|
|
@@ -213,7 +213,7 @@ class ConsoleIntegrationTestTraitTest extends TestCase
|
|
|
public function testAssertionFailureMessages($assertion, $message, $command, ...$rest): void
|
|
|
{
|
|
|
$this->expectException(AssertionFailedError::class);
|
|
|
- $this->expectExceptionMessageMatches('#' . preg_quote($message, '#') . '.?#');
|
|
|
+ $this->expectExceptionMessageMatches('#' . $message . '.?#');
|
|
|
|
|
|
$this->exec($command);
|
|
|
|
|
|
@@ -233,7 +233,7 @@ class ConsoleIntegrationTestTraitTest extends TestCase
|
|
|
'assertOutputContains' => ['assertOutputContains', 'Failed asserting that \'missing\' is in output', 'routes', 'missing'],
|
|
|
'assertOutputNotContains' => ['assertOutputNotContains', 'Failed asserting that \'controller\' is not in output', 'routes', 'controller'],
|
|
|
'assertOutputRegExp' => ['assertOutputRegExp', 'Failed asserting that `/missing/` PCRE pattern found in output', 'routes', '/missing/'],
|
|
|
- 'assertOutputContainsRow' => ['assertOutputContainsRow', 'Failed asserting that `Array (...)` row was in output', 'routes', ['test', 'missing']],
|
|
|
+ 'assertOutputContainsRow' => ['assertOutputContainsRow', 'Failed asserting that `.*` row was in output', 'routes', ['test', 'missing']],
|
|
|
'assertErrorContains' => ['assertErrorContains', 'Failed asserting that \'test\' is in error output', 'routes', 'test'],
|
|
|
'assertErrorRegExp' => ['assertErrorRegExp', 'Failed asserting that `/test/` PCRE pattern found in error output', 'routes', '/test/'],
|
|
|
];
|