diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-02 20:01:35 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-05-02 20:01:35 +0200 |
commit | f29881d554a0cbda997d8dcb12b7c0fd1e59be14 (patch) | |
tree | 08c001fba426dacf24ccff51148a250fbf8e054a /tests | |
parent | 5ae697ac9dbaf999d51fa7805078249f33c301dc (diff) |
force links to open in new tabs, fix #146
Diffstat (limited to 'tests')
-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) { |