Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | public function testInvalidURL($urls) |
||
17 | { |
||
18 | $filter = new CleanParamFilter($urls); |
||
19 | $this->assertInstanceOf('vipnytt\CleanParamFilter', $filter); |
||
20 | |||
21 | // Invalid URLs |
||
22 | $this->assertContains('http:/example.tld/', $filter->listInvalid()); |
||
23 | $this->assertNotContains('http:/example.tld/', $filter->listApproved()); |
||
24 | $this->assertNotContains('http:/example.tld/', $filter->listDuplicate()); |
||
25 | } |
||
26 | |||
45 |