From 7c1d9e043f38e0256210f5f2b022fd860d7e1718 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sat, 16 May 2026 16:16:48 +0200 Subject: [PATCH] test: Sort webdav entries before comparing Server removed the sorting to improve performance on the database query Signed-off-by: Joas Schilling --- tests/integration/features/bootstrap/SharingContext.php | 2 ++ 1 file changed, 2 insertions(+) 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); }