| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | public function testFormat() { |
||
| 10 | Url::instance()->setSufix('/'); |
||
| 11 | $link = 'my-custom-link'; |
||
| 12 | $formatedLink = Url::instance()->format($link); |
||
| 13 | $this->assertEquals($formatedLink, 'my-custom-link/'); |
||
| 14 | |||
| 15 | $linkBar = 'my-custom-link/'; |
||
| 16 | $formatedLinkBar = Url::instance()->format($linkBar); |
||
| 17 | $this->assertEquals($formatedLinkBar, 'my-custom-link/'); |
||
| 18 | } |
||
| 19 | |||
| 28 |