summaryrefslogtreecommitdiff
path: root/tests/units/Core/RouterTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Core/RouterTest.php')
-rw-r--r--tests/units/Core/RouterTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/units/Core/RouterTest.php b/tests/units/Core/RouterTest.php
index 99c49ba8..56a87662 100644
--- a/tests/units/Core/RouterTest.php
+++ b/tests/units/Core/RouterTest.php
@@ -10,11 +10,13 @@ class RouterTest extends Base
{
$r = new Router($this->container);
- $this->assertEquals('plop', $r->sanitize('PloP', 'default'));
+ $this->assertEquals('PloP', $r->sanitize('PloP', 'default'));
$this->assertEquals('default', $r->sanitize('', 'default'));
$this->assertEquals('default', $r->sanitize('123-AB', 'default'));
$this->assertEquals('default', $r->sanitize('R&D', 'default'));
- $this->assertEquals('default', $r->sanitize('Test123', 'default'));
+ $this->assertEquals('Test123', $r->sanitize('Test123', 'default'));
+ $this->assertEquals('Test_123', $r->sanitize('Test_123', 'default'));
+ $this->assertEquals('userImport', $r->sanitize('userImport', 'default'));
}
public function testPath()