| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 7 |
| Ratio | 100 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | View Code Duplication | public function PurifyExceptDomainTest() |
|
| 24 | { |
||
| 25 | $linkPurifier = new LinkPurifier(''); |
||
| 26 | $output = $linkPurifier->Purify('Lorem Ipsum <a href="http://www.google.co.in" target="_blank">http://www.google.co.in</a> lorem ipsum dummy text added for the testing purpose by <a href="http://www.mywebsite.co.in">http://www.mywebsite.co.in</a>', 'mywebsite'); |
||
| 27 | $expectedOutPut = 'Lorem Ipsum lorem ipsum dummy text added for the testing purpose by <a href="http://www.mywebsite.co.in">http://www.mywebsite.co.in</a>'; |
||
| 28 | $this->assertEquals($expectedOutPut, $output); |
||
| 29 | } |
||
| 30 | } |
||
| 31 |