diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-09-16 17:26:29 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-09-16 17:27:45 +0200 |
commit | 483ef49d7ca49c6e7eea8288db9fb4bdd59cdc58 (patch) | |
tree | ada0a77b15f6f69b485f2969197c72db728b90ac /tests/unit/utility | |
parent | 84c033b9182db27f74211b3bba3786adefcfa37f (diff) |
manually convert ' to ' because its not built into PHP for author an title
Diffstat (limited to 'tests/unit/utility')
-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 7bbf54371..3865bda9f 100644 --- a/tests/unit/utility/FeedFetcherTest.php +++ b/tests/unit/utility/FeedFetcherTest.php @@ -104,7 +104,7 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $this->url = 'http://tests'; $this->permalink = 'http://permalink'; - $this->title = 'my title&lt;'; + $this->title = 'my&lt;' title'; $this->guid = 'hey guid here'; $this->body = 'let the bodies hit the floor <a href="test">test</a>'; $this->body2 = 'let the bodies hit the floor <a target="_blank" href="test">test</a>'; @@ -196,7 +196,7 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $item->setStatus(0); $item->setUnread(); $item->setUrl($this->permalink); - $item->setTitle(html_entity_decode(html_entity_decode($this->title))); + $item->setTitle('my<\' title'); $item->setGuid($this->guid); $item->setGuidHash(md5($this->guid)); $item->setBody($this->body2); |