From fbc28ff1c892460e90e87a1be6dd3e28a4cd58b8 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Wed, 19 Oct 2016 11:05:20 +0200 Subject: Fix hashtags links in Feeds Make the hashtag link absolute in feeds to work properly in RSS syndication tools. --- tests/FeedBuilderTest.php | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/FeedBuilderTest.php') 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 $link = array_shift($data['links']); $this->assertEquals('http://host.tld:8080/~user/shaarli/?WDWyig', $link['guid']); $this->assertEquals('http://host.tld:8080/~user/shaarli/?WDWyig', $link['url']); + $this->assertContains('http://host.tld:8080/~user/shaarli/?addtag=hashtag', $link['description']); } } -- cgit v1.2.3