Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function not_found_created() |
||
14 | { |
||
15 | $this->assertCount(0, $this->getNotFounds()); |
||
16 | |||
17 | $this->client->request('GET', '/not-found?foo=bar'); |
||
18 | |||
19 | $notFounds = $this->getNotFounds(); |
||
20 | |||
21 | $this->assertCount(1, $notFounds); |
||
22 | $this->assertSame('/not-found', $notFounds[0]->getPath()); |
||
23 | $this->assertSame('http://localhost/not-found?foo=bar', $notFounds[0]->getFullUrl()); |
||
24 | $this->assertNull($notFounds[0]->getReferer()); |
||
25 | } |
||
26 | } |
||
27 |