diff options
Diffstat (limited to 'tests/unit/fetcher/FeedFetcherTest.php')
-rw-r--r-- | tests/unit/fetcher/FeedFetcherTest.php | 11 |
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); |