summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/FolderMapperTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Db/FolderMapperTest.php')
-rw-r--r--tests/Unit/Db/FolderMapperTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Unit/Db/FolderMapperTest.php b/tests/Unit/Db/FolderMapperTest.php
index bf7b1cae0..c8230ff0f 100644
--- a/tests/Unit/Db/FolderMapperTest.php
+++ b/tests/Unit/Db/FolderMapperTest.php
@@ -70,7 +70,7 @@ class FolderMapperTest extends MapperTestUtility
$this->setMapperResult($sql, [$id, $userId]);
- $this->setExpectedException(
+ $this->expectException(
'\OCP\AppFramework\Db\DoesNotExistException'
);
$this->folderMapper->find($id, $userId);
@@ -88,7 +88,7 @@ class FolderMapperTest extends MapperTestUtility
$this->setMapperResult($sql, [$id, $userId], $rows);
- $this->setExpectedException(
+ $this->expectException(
'\OCP\AppFramework\Db\MultipleObjectsReturnedException'
);
$this->folderMapper->find($id, $userId);