X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FUrl%2FUrlTest.php;h=0586237211b7a402ea2a9a0f7c0b3749af6b516a;hb=fc11ab2f290a3712b766d78fdbcd354625a35d0a;hp=ce82265e305bfceec3b69e232002a411f5ea0d67;hpb=6275a65969a84a360588e0a62b025963e9ec98e0;p=github%2Fshaarli%2FShaarli.git diff --git a/tests/Url/UrlTest.php b/tests/Url/UrlTest.php index ce82265e..05862372 100644 --- a/tests/Url/UrlTest.php +++ b/tests/Url/UrlTest.php @@ -85,6 +85,7 @@ class UrlTest extends PHPUnit_Framework_TestCase $this->assertUrlIsCleaned('?utm_term=1n4l'); $this->assertUrlIsCleaned('?xtor=some-url'); + $this->assertUrlIsCleaned('?PHPSESSID=012345678910111213'); } /** @@ -183,9 +184,9 @@ class UrlTest extends PHPUnit_Framework_TestCase } /** - * Test IndToAscii. + * Test International Domain Name to ASCII conversion */ - function testIndToAscii() + function testIdnToAscii() { $ind = 'http://www.académie-française.fr/'; $expected = 'http://www.xn--acadmie-franaise-npb1a.fr/';