diff options
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/bootstrap.php | 1 | ||||
-rw-r--r-- | tests/integration/db/ItemMapperTest.php | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration/bootstrap.php b/tests/integration/bootstrap.php index fb050dea1..80e1a5d0d 100644 --- a/tests/integration/bootstrap.php +++ b/tests/integration/bootstrap.php @@ -143,6 +143,7 @@ class NewsIntegrationTest extends \PHPUnit_Framework_TestCase { $newItem->setTitle($item['title']); $newItem->setAuthor($item['author']); $newItem->setGuid($item['guid']); + $newItem->setGuidHash($item['guid']); $newItem->setUrl($item['url']); $newItem->setPubDate($item['pubDate']); $newItem->setLastModified($item['lastModified']); diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php index 20ded2ead..7989eb2e7 100644 --- a/tests/integration/db/ItemMapperTest.php +++ b/tests/integration/db/ItemMapperTest.php @@ -13,6 +13,7 @@ class ItemMapperTest extends NewsIntegrationTest { $item = new Item(); $item->setTitle('my title thats long'); $item->setGuid('a doner'); + $item->setGuidHash('a doner'); $item->setFeedId($feedId); $item->setUnread(); $item->setBody('Döner'); |