diff options
Diffstat (limited to 'tests/unit/utility/FeedFetcherTest.php')
-rw-r--r-- | tests/unit/utility/FeedFetcherTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/utility/FeedFetcherTest.php b/tests/unit/utility/FeedFetcherTest.php index e4fea6b25..30881ae0d 100644 --- a/tests/unit/utility/FeedFetcherTest.php +++ b/tests/unit/utility/FeedFetcherTest.php @@ -97,11 +97,11 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $this->url = 'tests'; $this->permalink = 'http://permalink'; - $this->title = 'my title'; + $this->title = 'my title<'; $this->guid = 'hey guid here'; $this->body = 'let the bodies hit the floor'; $this->pub = 23111; - $this->author = 'boogieman<e;'; + $this->author = '<boogieman'; $this->enclosureLink = 'http://enclosure.you'; $this->feedTitle = '<e;its a title'; @@ -172,7 +172,7 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $item->setStatus(0); $item->setUnread(); $item->setUrl($this->permalink); - $item->setTitle($this->title); + $item->setTitle(html_entity_decode($this->title)); $item->setGuid($this->guid); $item->setGuidHash(md5($this->guid)); $item->setBody($this->body); |