summaryrefslogtreecommitdiffstats
path: root/tests/unit/utility/FeedFetcherTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-04-19 15:00:25 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-04-19 15:00:25 +0200
commit9bb05d9733fd8fbf8e27f6eb1d54427ff0086904 (patch)
treee66aef05e3ee6e2a75820303430f305635827837 /tests/unit/utility/FeedFetcherTest.php
parenta841116494889a90f06bb8570dbc1a8853807b38 (diff)
also html decode author
Diffstat (limited to 'tests/unit/utility/FeedFetcherTest.php')
-rw-r--r--tests/unit/utility/FeedFetcherTest.php6
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&lt;';
$this->guid = 'hey guid here';
$this->body = 'let the bodies hit the floor';
$this->pub = 23111;
- $this->author = 'boogieman&lte;';
+ $this->author = '&lt;boogieman';
$this->enclosureLink = 'http://enclosure.you';
$this->feedTitle = '&lte;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);