diff options
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/controller/FolderControllerTest.php | 2 | ||||
-rw-r--r-- | tests/unit/utility/FeedFetcherTest.php | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/unit/controller/FolderControllerTest.php b/tests/unit/controller/FolderControllerTest.php index 4b070a0bb..67529edbc 100644 --- a/tests/unit/controller/FolderControllerTest.php +++ b/tests/unit/controller/FolderControllerTest.php @@ -323,4 +323,6 @@ class FolderControllerTest extends ControllerTestUtility { $this->assertEquals($msg, $params['msg']); $this->assertTrue($response instanceof JSONResponse); } + + }
\ No newline at end of file diff --git a/tests/unit/utility/FeedFetcherTest.php b/tests/unit/utility/FeedFetcherTest.php index 3794eb1da..9ddd9d593 100644 --- a/tests/unit/utility/FeedFetcherTest.php +++ b/tests/unit/utility/FeedFetcherTest.php @@ -100,7 +100,8 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $this->permalink = 'http://permalink'; $this->title = 'my title<'; $this->guid = 'hey guid here'; - $this->body = 'let the bodies hit the floor'; + $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>'; $this->pub = 23111; $this->author = '<boogieman'; $this->enclosureLink = 'http://enclosure.you'; @@ -177,7 +178,7 @@ class FeedFetcherTest extends \OCA\AppFramework\Utility\TestUtility { $item->setTitle(html_entity_decode($this->title)); $item->setGuid($this->guid); $item->setGuidHash(md5($this->guid)); - $item->setBody($this->body); + $item->setBody($this->body2); $item->setPubDate($this->pub); $item->setLastModified($this->time); if($author) { |