test: sort recipients in test

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/62596/head
Robin Appelman 3 weeks ago
parent 06a8aa9e93
commit ebbc17219f
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 1
      tests/lib/Sharing/AbstractSharingManagerTests.php

@ -3097,6 +3097,7 @@ abstract class AbstractSharingManagerTests extends TestCase {
$this->assertGreaterThanOrEqual($before, $share['last_updated']);
$this->assertLessThanOrEqual($after, $share['last_updated']);
usort($share['recipients'], fn (array $a, array $b): int => $a['value'] <=> $b['value']);
$this->assertArrayHasKey('recipients', $share);
$this->assertIsArray($share['recipients']);
$this->assertCount(4, $share['recipients']);

Loading…
Cancel
Save