diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-10-19 11:05:20 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-10-20 11:42:01 +0200 |
commit | fbc28ff1c892460e90e87a1be6dd3e28a4cd58b8 (patch) | |
tree | a5df9c5e3799b43a42308c28fdd724e4d5287061 /tests/FeedBuilderTest.php | |
parent | ceeb8fbeb89f69e41791ae192d073d6afea00f4b (diff) | |
download | Shaarli-fbc28ff1c892460e90e87a1be6dd3e28a4cd58b8.tar.gz Shaarli-fbc28ff1c892460e90e87a1be6dd3e28a4cd58b8.tar.zst Shaarli-fbc28ff1c892460e90e87a1be6dd3e28a4cd58b8.zip |
Fix hashtags links in Feeds
Make the hashtag link absolute in feeds to work properly in RSS syndication tools.
Diffstat (limited to 'tests/FeedBuilderTest.php')
-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 | } |