diff --git a/tests/integration/features/bootstrap/SharingContext.php b/tests/integration/features/bootstrap/SharingContext.php index be3fa3f54be..1b1d43c8546 100644 --- a/tests/integration/features/bootstrap/SharingContext.php +++ b/tests/integration/features/bootstrap/SharingContext.php @@ -697,6 +697,8 @@ public function theListOfReturnedFilesForIs(string $user, ?TableNode $table = nu $expectedHrefs[] = '/remote.php/dav/files/' . $user . (string)$row[0]; } } + sort($hrefs); + sort($expectedHrefs); \PHPUnit\Framework\Assert::assertEquals($expectedHrefs, $hrefs); }