File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ public function testAssertSelectorTextNotContains()
183
183
{
184
184
$ this ->getCrawlerTester (new Crawler ('<html><body><h1>Foo ' ))->assertSelectorTextNotContains ('body > h1 ' , 'Bar ' );
185
185
$ this ->expectException (AssertionFailedError::class);
186
- $ this ->expectExceptionMessage ('matches selector "body > h1" and does not have a node matching selector "body > h1" with content containing "Foo". ' );
186
+ $ this ->expectExceptionMessage ('matches selector "body > h1" and the text "Foo" of the node matching selector "body > h1" does not contain "Foo". ' );
187
187
$ this ->getCrawlerTester (new Crawler ('<html><body><h1>Foo ' ))->assertSelectorTextNotContains ('body > h1 ' , 'Foo ' );
188
188
}
189
189
@@ -199,7 +199,7 @@ public function testAssertPageTitleContains()
199
199
{
200
200
$ this ->getCrawlerTester (new Crawler ('<html><head><title>Foobar ' ))->assertPageTitleContains ('Foo ' );
201
201
$ this ->expectException (AssertionFailedError::class);
202
- $ this ->expectExceptionMessage ('matches selector "title" and has a node matching selector "title" with content containing "Bar". ' );
202
+ $ this ->expectExceptionMessage ('matches selector "title" and the text "Foo" of the node matching selector "title" contains "Bar". ' );
203
203
$ this ->getCrawlerTester (new Crawler ('<html><head><title>Foo ' ))->assertPageTitleContains ('Bar ' );
204
204
}
205
205
Original file line number Diff line number Diff line change 38
38
"symfony/browser-kit" : " ^4.3|^5.0" ,
39
39
"symfony/console" : " ^4.3.4|^5.0" ,
40
40
"symfony/css-selector" : " ^3.4|^4.0|^5.0" ,
41
- "symfony/dom-crawler" : " ^4.3 |^5.0 " ,
41
+ "symfony/dom-crawler" : " ^4.4.20 |^5.2.4 " ,
42
42
"symfony/dotenv" : " ^4.3.6|^5.0" ,
43
43
"symfony/polyfill-intl-icu" : " ~1.0" ,
44
44
"symfony/form" : " ^4.3.5|^5.0" ,
You can’t perform that action at this time.
0 commit comments