From 49690031a531732cda42f572823e4ec5b7786da7 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 5 Nov 2014 15:34:11 +0100 Subject: sometimes it works --- tests/integration/db/ItemMapperTest.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/integration/db/ItemMapperTest.php') diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php index d0013f631..82c5d880b 100644 --- a/tests/integration/db/ItemMapperTest.php +++ b/tests/integration/db/ItemMapperTest.php @@ -23,12 +23,15 @@ class ItemMapperTest extends NewsIntegrationTest { public function testInsert() { $item = new Item(); $item->setTitle('my title'); + $item->setGuid('test'); $created = $this->itemMapper->insert($item); $fetched = $this->itemMapper->find($created->getId(), $this->userId); $this->assertEquals($item->getTitle(), $fetched->getTitle()); + $this->assertEquals($item->getGuid(), $fetched->getGuid()); + $this->assertEquals($item->getGuidHash(), $fetched->getGuidHash()); } } \ No newline at end of file -- cgit v1.2.3