aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-10-19 11:05:20 +0200
committerArthurHoaro <arthur@hoa.ro>2016-11-05 14:30:13 +0100
commitfa020db2972e54dc7ce22521c197c536cec68841 (patch)
treed9722314ea9bd238bf9e76aeae98d2e6e2122fa0 /tests
parent0d051da4a14b6325b4ab7d93ebcd63d4a8dc141c (diff)
downloadShaarli-fa020db2972e54dc7ce22521c197c536cec68841.tar.gz
Shaarli-fa020db2972e54dc7ce22521c197c536cec68841.tar.zst
Shaarli-fa020db2972e54dc7ce22521c197c536cec68841.zip
Fix hashtags links in Feeds
Make the hashtag link absolute in feeds to work properly in RSS syndication tools.
Diffstat (limited to 'tests')
-rw-r--r--tests/FeedBuilderTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/FeedBuilderTest.php b/tests/FeedBuilderTest.php
index aa57f44e..d7839402 100644
--- a/tests/FeedBuilderTest.php
+++ b/tests/FeedBuilderTest.php
@@ -249,5 +249,6 @@ class FeedBuilderTest extends PHPUnit_Framework_TestCase
249 $link = array_shift($data['links']); 249 $link = array_shift($data['links']);
250 $this->assertEquals('http://host.tld:8080/~user/shaarli/?WDWyig', $link['guid']); 250 $this->assertEquals('http://host.tld:8080/~user/shaarli/?WDWyig', $link['guid']);
251 $this->assertEquals('http://host.tld:8080/~user/shaarli/?WDWyig', $link['url']); 251 $this->assertEquals('http://host.tld:8080/~user/shaarli/?WDWyig', $link['url']);
252 $this->assertContains('http://host.tld:8080/~user/shaarli/?addtag=hashtag', $link['description']);
252 } 253 }
253} 254}