summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/FolderMapperTest.php
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-10-02 14:44:52 +0200
committerGitHub <noreply@github.com>2018-10-02 14:44:52 +0200
commit13fb06e5141e3433ab502565527324ad1e924d00 (patch)
treec0eedead6788614b886940f892f23c6537368a19 /tests/Unit/Db/FolderMapperTest.php
parentc36b0a95685cb0daa3fce9d743b7610a5cfe50ed (diff)
parentfa5f07ba9a77959796c3c7a4851f2f2fe1051afa (diff)
Merge pull request #341 from SMillerDev/master
Put back old tests for stable nextcloud version and bump dependencies
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);