Skip to content

Commit

Permalink
now?
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <github@dartcafe.de>
  • Loading branch information
dartcafe committed Aug 31, 2023
1 parent 53948c9 commit 9f1d0e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Integration/Command/Share/RemoveTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
}
}
Expand Down

0 comments on commit 9f1d0e0

Please sign in to comment.