diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-22 13:23:56 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-11-27 13:34:42 +0100 |
commit | 8d4346d65688d2aabd6e144fe3f3609897a46230 (patch) | |
tree | 3f18b81fc97ce781ed16eb2eb2d9687d2daf3e32 /tests/lib/Share20 | |
parent | f2ef35dbf1401e15361c6535734fa77fbec636b7 (diff) | |
download | nextcloud-server-8d4346d65688d2aabd6e144fe3f3609897a46230.tar.gz nextcloud-server-8d4346d65688d2aabd6e144fe3f3609897a46230.zip |
Fix more tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'tests/lib/Share20')
-rw-r--r-- | tests/lib/Share20/ManagerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php index 45e56114472..a7e2ef7d604 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -336,7 +336,7 @@ class ManagerTest extends \Test\TestCase { $this->defaultProvider ->method('delete') - ->withConsecutive($share3, $share2, $share1); + ->withConsecutive([$share3], [$share2], [$share1]); $this->eventDispatcher->expects($this->at(0)) ->method('dispatch') @@ -427,7 +427,7 @@ class ManagerTest extends \Test\TestCase { $this->defaultProvider ->expects($this->exactly(3)) ->method('delete') - ->withConsecutive($child1, $child2, $child3); + ->withConsecutive([$child1], [$child2], [$child3]); $result = self::invokePrivate($manager, 'deleteChildren', [$share]); $this->assertSame($shares, $result); |