From ba45889c14927396944dafc834d4c80d7e5a4c50 Mon Sep 17 00:00:00 2001 From: Artur Neumann Date: Thu, 16 May 2019 16:51:52 +0545 Subject: [PATCH] quote inline code when checking response --- tests/acceptance/features/bootstrap/WebDavPropertiesContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/acceptance/features/bootstrap/WebDavPropertiesContext.php b/tests/acceptance/features/bootstrap/WebDavPropertiesContext.php index 9a1b4ccb858f..6505d2f4d48b 100644 --- a/tests/acceptance/features/bootstrap/WebDavPropertiesContext.php +++ b/tests/acceptance/features/bootstrap/WebDavPropertiesContext.php @@ -322,7 +322,7 @@ public function assertValueOfItemInResponseRegExp($xpath, $pattern) { ); $value = $xmlPart[0]->__toString(); $pattern = $this->featureContext->substituteInLineCodes( - $pattern + $pattern, ['preg_quote' => ['/'] ] ); PHPUnit\Framework\Assert::assertRegExp( $pattern, $value,