diff options
Diffstat (limited to 'tests/unit/utility/FeedFetcherTest.php')
-rw-r--r-- | tests/unit/utility/FeedFetcherTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/utility/FeedFetcherTest.php b/tests/unit/utility/FeedFetcherTest.php index bb027a778..e4fea6b25 100644 --- a/tests/unit/utility/FeedFetcherTest.php +++ b/tests/unit/utility/FeedFetcherTest.php @@ -101,7 +101,7 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $this->guid = 'hey guid here'; $this->body = 'let the bodies hit the floor'; $this->pub = 23111; - $this->author = 'boogieman'; + $this->author = 'boogieman<e;'; $this->enclosureLink = 'http://enclosure.you'; $this->feedTitle = '<e;its a title'; @@ -184,7 +184,7 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { ->method('get_name') ->will($this->returnValue($this->author)); $this->expectItem('get_author', $mock); - $item->setAuthor($this->author); + $item->setAuthor(html_entity_decode($this->author)); } if($enclosureType === 'audio/ogg') { |