aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Url/UrlTest.php
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2016-03-30 19:31:19 +0200
committerVirtualTam <virtualtam@flibidi.net>2016-03-30 19:31:19 +0200
commit11609d9fd8ba53f049e6c913d8e3affab6cfc9ce (patch)
tree027fb21385bdda3b177d6c2f1f1ea109bc869c02 /tests/Url/UrlTest.php
parent5f143b72eaafeda533fcb997ecca73d38258546e (diff)
parentc9da01e749e5319d0c0f400cde06e71c0e7312d5 (diff)
downloadShaarli-11609d9fd8ba53f049e6c913d8e3affab6cfc9ce.tar.gz
Shaarli-11609d9fd8ba53f049e6c913d8e3affab6cfc9ce.tar.zst
Shaarli-11609d9fd8ba53f049e6c913d8e3affab6cfc9ce.zip
Merge pull request #522 from ArthurHoaro/hotfix/readershaare
Refactor and rebase #380: Firefox reader view links
Diffstat (limited to 'tests/Url/UrlTest.php')
-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 /**