summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-01-17 19:54:51 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-01-17 19:54:51 +0100
commitb66a762a0232c08456ef5a8ef8a75d9524bea1dd (patch)
tree0edf97ae45a05fc4e9670ce6a0f37d9c6c498619
parentbde168df355233e376afe9cb413c3f959f175ed2 (diff)
final fixes
-rw-r--r--tests/integration/db/ItemMapperTest.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php
index 0f5f15318..a36b1db9e 100644
--- a/tests/integration/db/ItemMapperTest.php
+++ b/tests/integration/db/ItemMapperTest.php
@@ -79,10 +79,11 @@ class ItemMapperTest extends IntegrationTest {
*/
public function testDeleteOlderThanThresholdOne() {
$this->loadFixtures('default');
+ $id = $this->whereTitleId('del1');
$this->deleteReadOlderThanThreshold();
- $this->itemMapper->find($this->whereTitleId('del1'), $this->user);
+ $this->itemMapper->find($id, $this->user);
}
/**
@@ -90,10 +91,11 @@ class ItemMapperTest extends IntegrationTest {
*/
public function testDeleteOlderThanThresholdTwo() {
$this->loadFixtures('default');
+ $id = $this->whereTitleId('del2');
$this->deleteReadOlderThanThreshold();
- $this->itemMapper->find($this->whereTitleId('del2'), $this->user);
+ $this->itemMapper->find($id, $this->user);
}