summaryrefslogtreecommitdiffstats
path: root/tests/unit/fetcher/FeedFetcherTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-13 14:14:38 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-13 14:14:38 +0100
commit631a1e2baf5e8332bd3034de0022669eca0636fd (patch)
treecb34cd1183d25e4d40f399879381d0c08a2c376e /tests/unit/fetcher/FeedFetcherTest.php
parentb793f892463a691a4b25bc59add168669720850a (diff)
dont set guidHash when setting guid to avoid overwriting different guid hashes that come from the db
Diffstat (limited to 'tests/unit/fetcher/FeedFetcherTest.php')
-rw-r--r--tests/unit/fetcher/FeedFetcherTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/fetcher/FeedFetcherTest.php b/tests/unit/fetcher/FeedFetcherTest.php
index a9e29de0c..5f68ff333 100644
--- a/tests/unit/fetcher/FeedFetcherTest.php
+++ b/tests/unit/fetcher/FeedFetcherTest.php
@@ -208,6 +208,7 @@ class FeedFetcherTest extends \PHPUnit_Framework_TestCase {
$item->setUrl($this->permalink);
$item->setTitle('my<\' title');
$item->setGuid($this->guid);
+ $item->setGuidHash($this->guid);
$item->setBody($this->body);
$item->setLastModified($this->time);