summaryrefslogtreecommitdiffstats
path: root/tests/unit/fetcher/FeedFetcherTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <Raydiation@users.noreply.github.com>2015-08-12 17:06:08 +0200
committerBernhard Posselt <Raydiation@users.noreply.github.com>2015-08-12 17:06:08 +0200
commite1af6113c7c916ab776f9b2f6de8dfe8cb6b5469 (patch)
treefa75e06a965fb5751017288a5c135bc179574210 /tests/unit/fetcher/FeedFetcherTest.php
parentc77a6705d34c81cb933f3d4b83eb18e2b586035a (diff)
parent53679811da855acf9bd944a389a48399ca5d5a15 (diff)
Merge pull request #835 from owncloud/full-text
Fix #725
Diffstat (limited to 'tests/unit/fetcher/FeedFetcherTest.php')
-rw-r--r--tests/unit/fetcher/FeedFetcherTest.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/unit/fetcher/FeedFetcherTest.php b/tests/unit/fetcher/FeedFetcherTest.php
index e1a3997ac..2c743500a 100644
--- a/tests/unit/fetcher/FeedFetcherTest.php
+++ b/tests/unit/fetcher/FeedFetcherTest.php
@@ -319,6 +319,17 @@ class FeedFetcherTest extends \PHPUnit_Framework_TestCase {
$this->assertEquals([$feed, [$item]], $result);
}
+ public function testFullText() {
+ $this->setUpReader($this->url);
+
+ $feed = $this->createFeed();
+ $item = $this->createItem();
+ $this->parser->expects($this->once())
+ ->method('enableContentGrabber');
+ $this->expectFeed('getItems', [$this->item]);
+ $this->fetcher->fetch($this->url, false, null, null, true);
+ }
+
public function testNoFavicon() {
$this->setUpReader($this->url);