From 0fe7ba9d432b212ef81af9ab1ec8a99a1726cbf7 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 7 May 2024 15:58:51 +0200 Subject: [PATCH] fix: Debugging failing integration tests Signed-off-by: Joas Schilling --- tests/integration/features/bootstrap/FeatureContext.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index 8d1a259074ac..0fbe8009793f 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -815,7 +815,12 @@ protected function assertAttendeeList(string $identifier, ?TableNode $formData, usort($expected, [self::class, 'sortAttendees']); usort($result, [self::class, 'sortAttendees']); - Assert::assertEquals($expected, $result); + Assert::assertEquals($expected, $result, print_r([ + 'original' => $formData->getHash(), + 'expected' => $expected, + 'actual' => $attendees, + 'result' => $result, + ])); } else { Assert::assertNull($formData); }