From 8d4346d65688d2aabd6e144fe3f3609897a46230 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 22 Nov 2019 13:23:56 +0100 Subject: Fix more tests Signed-off-by: Roeland Jago Douma --- tests/lib/Share20/ManagerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/lib/Share20') 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); -- cgit v1.2.3