diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-03-24 19:01:40 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-03-26 16:26:23 +0100 |
commit | c9da01e749e5319d0c0f400cde06e71c0e7312d5 (patch) | |
tree | 5150c9af94115efd5908b4e8d7e6f4a3c6a71cc8 /tests/Url/UrlTest.php | |
parent | ecd051905f0c8aa97590eb453d553dc678125a50 (diff) | |
download | Shaarli-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/Url/UrlTest.php')
-rw-r--r-- | tests/Url/UrlTest.php | 7 |
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 | /** |