diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-10-19 11:05:20 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-11-05 14:30:13 +0100 |
commit | fa020db2972e54dc7ce22521c197c536cec68841 (patch) | |
tree | d9722314ea9bd238bf9e76aeae98d2e6e2122fa0 /tests | |
parent | 0d051da4a14b6325b4ab7d93ebcd63d4a8dc141c (diff) | |
download | Shaarli-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.php | 1 |
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 | } |