Commits ------- 19f5d82 Fix 08bbb19 UnitTest Discussion ---------- [CssSelector] Fatal error on invalid selector expression The following usage in a WebTestCase leads to a fatal error and ends phpunit: ``` $client = $this->createClient(); $crawler = $client->request('GET', '/'); $this->assertTrue($crawler->filter('/invalid')->count() > 0); ``` 2 commits made, first one is the UnitTest to check on correct exception throwing, second one to fix the wrong namespace.
|
|||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|