| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function testCallNonAsciiCharRoute(): void |
||
| 26 | { |
||
| 27 | // setup |
||
| 28 | $router = $this->getRouter(); |
||
| 29 | RouterUnitTestUtils::setRequestMethod('GET'); |
||
| 30 | |||
| 31 | // test body |
||
| 32 | $router->addGetRoute('кириллический-урл', $this, 'actionRoute'); |
||
| 33 | |||
| 34 | // assertions |
||
| 35 | $this->assertEquals(1, $router->callRoute(urlencode('кириллический-урл'))); |
||
| 36 | } |
||
| 48 |