diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-01-17 19:54:51 +0100 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2016-01-17 19:54:51 +0100 |
commit | b66a762a0232c08456ef5a8ef8a75d9524bea1dd (patch) | |
tree | 0edf97ae45a05fc4e9670ce6a0f37d9c6c498619 /tests | |
parent | bde168df355233e376afe9cb413c3f959f175ed2 (diff) |
final fixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/db/ItemMapperTest.php | 6 |
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); } |