File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Original file line number Diff line number Diff line change @@ -50,6 +50,6 @@ public function testGenerateFragmentUri()
50
50
$ client = self ::createClient (['test_case ' => 'Fragment ' , 'root_config ' => 'config.yml ' , 'debug ' => true ]);
51
51
$ client ->request ('GET ' , '/fragment_uri ' );
52
52
53
- $ this ->assertSame ( ' /_fragment?_hash=CCRGN2D%2FoAJbeGz%2F%2FdoH3bNSPwLCrmwC1zAYCGIKJ0E%3D &_path=_format%3Dhtml%26_locale%3Den%26_controller%3DSymfony%255CBundle%255CFrameworkBundle%255CTests%255CFunctional%255CBundle%255CTestBundle%255CController%255CFragmentController%253A%253AindexAction ' , $ client ->getResponse ()->getContent ());
53
+ $ this ->assertMatchesRegularExpression ( ' # /_fragment\ ?_hash=.+ &_path=_format%3Dhtml%26_locale%3Den%26_controller%3DSymfony%255CBundle%255CFrameworkBundle%255CTests%255CFunctional%255CBundle%255CTestBundle%255CController%255CFragmentController%253A%253AindexAction$# ' , $ client ->getResponse ()->getContent ());
54
54
}
55
55
}
You can’t perform that action at this time.
0 commit comments