From 725ca094f8e4b7460869097b6a2a2bd6a4a420f4 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Fri, 20 May 2016 02:06:43 +0200 Subject: Url.php: remove unwanted ?PHPSESSID= URL parameters, update test case --- tests/Url/UrlTest.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/Url/UrlTest.php') diff --git a/tests/Url/UrlTest.php b/tests/Url/UrlTest.php index ce82265e..4bf53b2d 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'); } /** -- cgit v1.2.3 From 1336a7326b4939ae4efda026d4f592c6726acf38 Mon Sep 17 00:00:00 2001 From: julienCXX Date: Thu, 21 Jul 2016 19:42:26 +0200 Subject: Fix typo in test method name --- tests/Url/UrlTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/Url/UrlTest.php') diff --git a/tests/Url/UrlTest.php b/tests/Url/UrlTest.php index 4bf53b2d..05862372 100644 --- a/tests/Url/UrlTest.php +++ b/tests/Url/UrlTest.php @@ -184,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/'; -- cgit v1.2.3