From 052178a79f9099d1ce3c36e56334cdc15911ef09 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 25 Nov 2015 19:04:05 +0100 Subject: also consider enclosure for fingerprint --- tests/unit/fetcher/FeedFetcherTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/unit/fetcher/FeedFetcherTest.php') diff --git a/tests/unit/fetcher/FeedFetcherTest.php b/tests/unit/fetcher/FeedFetcherTest.php index ac486684b..276a3e485 100644 --- a/tests/unit/fetcher/FeedFetcherTest.php +++ b/tests/unit/fetcher/FeedFetcherTest.php @@ -222,7 +222,6 @@ class FeedFetcherTest extends \PHPUnit_Framework_TestCase { $item->setGuidHash($this->guid); $item->setBody($this->body); $item->setLastModified($this->time); - $item->generateSearchIndex(); $item->setRtl(false); $this->expectItem('getAuthor', $this->author); @@ -235,6 +234,8 @@ class FeedFetcherTest extends \PHPUnit_Framework_TestCase { $item->setEnclosureMime($enclosureType); $item->setEnclosureLink($this->enclosureLink); } + $item->generateSearchIndex(); + return $item; } -- cgit v1.2.3