diff options
Diffstat (limited to 'tests/Unit/Db/FolderMapperTest.php')
-rw-r--r-- | tests/Unit/Db/FolderMapperTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Db/FolderMapperTest.php b/tests/Unit/Db/FolderMapperTest.php index f8544da65..deb235ff7 100644 --- a/tests/Unit/Db/FolderMapperTest.php +++ b/tests/Unit/Db/FolderMapperTest.php @@ -62,7 +62,7 @@ class FolderMapperTest extends MapperTestUtility $this->setMapperResult($sql, [$id, $userId], $rows); - $result = $this->folderMapper->find($id, $userId); + $result = $this->folderMapper->find($userId, $id); $this->assertEquals($this->folders[0], $result); } @@ -79,7 +79,7 @@ class FolderMapperTest extends MapperTestUtility $this->setMapperResult($sql, [$id, $userId]); $this->expectException(DoesNotExistException::class); - $this->folderMapper->find($id, $userId); + $this->folderMapper->find($userId, $id); } @@ -95,7 +95,7 @@ class FolderMapperTest extends MapperTestUtility $this->setMapperResult($sql, [$id, $userId], $rows); $this->expectException(MultipleObjectsReturnedException::class); - $this->folderMapper->find($id, $userId); + $this->folderMapper->find($userId, $id); } |