diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2018-10-02 14:44:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 14:44:52 +0200 |
commit | 13fb06e5141e3433ab502565527324ad1e924d00 (patch) | |
tree | c0eedead6788614b886940f892f23c6537368a19 /tests/Unit/Db/FolderMapperTest.php | |
parent | c36b0a95685cb0daa3fce9d743b7610a5cfe50ed (diff) | |
parent | fa5f07ba9a77959796c3c7a4851f2f2fe1051afa (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.php | 4 |
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); |