Skip to content

Commit b754be5

Browse files
MAGETWO-34293: Html minification works incorrectly in Layered Navigation
- fix functional test
1 parent 25a5720 commit b754be5

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/functional/tests/app/Magento/User/Test/Handler/User

1 file changed

+1
-1
lines changed

dev/tests/functional/tests/app/Magento/User/Test/Handler/User/Curl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function persist(FixtureInterface $fixture = null)
4747
}
4848

4949
$url = 'admin/user/roleGrid/sort/user_id/dir/desc';
50-
$regExpPattern = '/col-user_id\W*(\d+)<.td><[^<>]*?>' . $data['username'] . '/siu';
50+
$regExpPattern = '/col-user_id[\s\W]*(\d+)\s*<.td>\s*<[^<>]*?>' . $data['username'] . '/siu';
5151
$extractor = new Extractor($url, $regExpPattern);
5252

5353
return ['user_id' => $extractor->getData()[1]];

0 commit comments

Comments
 (0)