diff options
Diffstat (limited to 'tests/integration/db/ItemMapperTest.php')
-rw-r--r-- | tests/integration/db/ItemMapperTest.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php index 5e6452398..f0bac5ced 100644 --- a/tests/integration/db/ItemMapperTest.php +++ b/tests/integration/db/ItemMapperTest.php @@ -66,6 +66,7 @@ class ItemMapperTest extends NewsIntegrationTest { public function testDeleteOlderThanThresholdTwo() { $this->deleteReadOlderThanThreshold(); + $this->setExpectedException( 'OCP\AppFramework\Db\DoesNotExistException'); $this->itemMapper->find($this->items['del2']->getId(), $this->userId); |