Skip to content

Commit e44a3cb

Browse files
committed
MAGETWO-33064: Implement obsolete test for refactored controllers
1 parent 9ab8523 commit e44a3cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/static/testsuite/Magento/Test/Legacy/ObsoleteResponseTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function ($file) {
4747
$quotedMethod = preg_quote($method, '/');
4848
$this->assertSame(
4949
0,
50-
preg_match('/(?<=[a-z\\d_:]|->|function\s)' . $quotedMethod . '\s*\(/iS', $content),
50+
preg_match('/(?<=[a-z\\d_:]|->|function\\s)' . $quotedMethod . '\\s*\\(/iS', $content),
5151
"File: $file\nContains obsolete method: $method . "
5252
);
5353
}

0 commit comments

Comments
 (0)