aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-03-24 19:01:40 +0100
committerArthurHoaro <arthur@hoa.ro>2016-03-26 16:26:23 +0100
commitc9da01e749e5319d0c0f400cde06e71c0e7312d5 (patch)
tree5150c9af94115efd5908b4e8d7e6f4a3c6a71cc8 /tests
parentecd051905f0c8aa97590eb453d553dc678125a50 (diff)
downloadShaarli-c9da01e749e5319d0c0f400cde06e71c0e7312d5.tar.gz
Shaarli-c9da01e749e5319d0c0f400cde06e71c0e7312d5.tar.zst
Shaarli-c9da01e749e5319d0c0f400cde06e71c0e7312d5.zip
Refactor and rebase #380: Firefox reader view links
Fixes #366 Closes #380
Diffstat (limited to 'tests')
-rw-r--r--tests/Url/UrlTest.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/Url/UrlTest.php b/tests/Url/UrlTest.php
index 425327ed..a64a73ea 100644
--- a/tests/Url/UrlTest.php
+++ b/tests/Url/UrlTest.php
@@ -128,6 +128,13 @@ class UrlTest extends PHPUnit_Framework_TestCase
128 self::$baseUrl.'?my=stuff&is=kept#again', 128 self::$baseUrl.'?my=stuff&is=kept#again',
129 $url->cleanup() 129 $url->cleanup()
130 ); 130 );
131
132 // test firefox reader url
133 $url = new Url(
134 'about://reader?url=' . urlencode(self::$baseUrl .'?my=stuff&is=kept')
135 );
136 $this->assertEquals(self::$baseUrl.'?my=stuff&is=kept', $url->cleanup());
137
131 } 138 }
132 139
133 /** 140 /**