summaryrefslogtreecommitdiffstats
path: root/tests/integration/db
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 09:01:34 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2014-11-06 09:02:26 +0100
commit1bacdd19d6aa4760ed65d29eaaa6cd3dfebe6627 (patch)
tree66fec5137d4e416a7097860ec486a871ebb0504f /tests/integration/db
parent0a97b588d0fbb677614961a7b77aed77aa160014 (diff)
add php server to grunt
Diffstat (limited to 'tests/integration/db')
-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 97956b28d..2b9a0333c 100644
--- a/tests/integration/db/ItemMapperTest.php
+++ b/tests/integration/db/ItemMapperTest.php
@@ -27,8 +27,11 @@ class ItemMapperTest extends NewsIntegrationTest {
$created = $this->itemMapper->insert($item);
+ var_dump($created);
+
$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());