From b66a762a0232c08456ef5a8ef8a75d9524bea1dd Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sun, 17 Jan 2016 19:54:51 +0100 Subject: final fixes --- tests/integration/db/ItemMapperTest.php | 6 ++++-- 1 file 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); } -- cgit v1.2.3