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 9c14756d5..f3ee15456 100644
--- a/tests/Unit/Db/FolderMapperTest.php
+++ b/tests/Unit/Db/FolderMapperTest.php
@@ -76,7 +76,7 @@ class FolderMapperTest extends MapperTestUtility
$this->setMapperResult($sql, [$id, $userId]);
- $this->setExpectedException(
+ $this->expectException(
'\OCP\AppFramework\Db\DoesNotExistException'
);
$this->folderMapper->find($id, $userId);
@@ -94,7 +94,7 @@ class FolderMapperTest extends MapperTestUtility
$this->setMapperResult($sql, [$id, $userId], $rows);
- $this->setExpectedException(
+ $this->expectException(
'\OCP\AppFramework\Db\MultipleObjectsReturnedException'
);
$this->folderMapper->find($id, $userId);