From 9f1d0e02474dbe3258ca9c61ab4001f5433b8a25 Mon Sep 17 00:00:00 2001 From: dartcafe Date: Thu, 31 Aug 2023 08:44:34 +0200 Subject: [PATCH] now? Signed-off-by: dartcafe --- tests/Integration/Command/Share/RemoveTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Integration/Command/Share/RemoveTest.php b/tests/Integration/Command/Share/RemoveTest.php index 2cd32ac4f..d62d0de70 100644 --- a/tests/Integration/Command/Share/RemoveTest.php +++ b/tests/Integration/Command/Share/RemoveTest.php @@ -94,9 +94,9 @@ public function testValid(array $input, array $pollData): void { foreach ($pollData['initialShares'] ?? [] as $type => $shares) { foreach ($shares as $userId) { $initialShares[] = $this->createShareMock($pollData['pollId'], $type, $userId); + $expectedShares[] = $userId; if (in_array($userId, $pollData['expectedShares'][$type] ?? [])) { - $expectedShares[] = $userId; $expectedShareCount++; } }