summaryrefslogtreecommitdiffstats
path: root/tests/integration/db/ItemMapperTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-05 15:34:11 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-05 15:34:11 +0100
commit49690031a531732cda42f572823e4ec5b7786da7 (patch)
tree193afa310ae217d94f5204f95e767d6ec7b1977d /tests/integration/db/ItemMapperTest.php
parent4c5e27bc13ce1f5132bd14af3c77bde758ae3a24 (diff)
sometimes it works
Diffstat (limited to 'tests/integration/db/ItemMapperTest.php')
-rw-r--r--tests/integration/db/ItemMapperTest.php3
1 files changed, 3 insertions, 0 deletions
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