diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-05-05 13:28:43 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-05-05 13:28:43 +0200 |
commit | caa69b585381cc1c22df3dbb9c943855b8f13a70 (patch) | |
tree | 7fcd56578f8e570a7517648c82abe29af4ec8593 /tests/Url | |
parent | 86deafe0ff5a22a37255546cf82325e89bf272b1 (diff) | |
download | Shaarli-caa69b585381cc1c22df3dbb9c943855b8f13a70.tar.gz Shaarli-caa69b585381cc1c22df3dbb9c943855b8f13a70.tar.zst Shaarli-caa69b585381cc1c22df3dbb9c943855b8f13a70.zip |
typo
Diffstat (limited to 'tests/Url')
-rw-r--r-- | tests/Url/UrlTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Url/UrlTest.php b/tests/Url/UrlTest.php index 5fdc8617..ce82265e 100644 --- a/tests/Url/UrlTest.php +++ b/tests/Url/UrlTest.php | |||
@@ -190,10 +190,10 @@ class UrlTest extends PHPUnit_Framework_TestCase | |||
190 | $ind = 'http://www.académie-française.fr/'; | 190 | $ind = 'http://www.académie-française.fr/'; |
191 | $expected = 'http://www.xn--acadmie-franaise-npb1a.fr/'; | 191 | $expected = 'http://www.xn--acadmie-franaise-npb1a.fr/'; |
192 | $url = new Url($ind); | 192 | $url = new Url($ind); |
193 | $this->assertEquals($expected, $url->indToAscii()); | 193 | $this->assertEquals($expected, $url->idnToAscii()); |
194 | 194 | ||
195 | $notInd = 'http://www.academie-francaise.fr/'; | 195 | $notInd = 'http://www.academie-francaise.fr/'; |
196 | $url = new Url($notInd); | 196 | $url = new Url($notInd); |
197 | $this->assertEquals($notInd, $url->indToAscii()); | 197 | $this->assertEquals($notInd, $url->idnToAscii()); |
198 | } | 198 | } |
199 | } | 199 | } |