Skip to content

Commit

Permalink
fix: Debugging failing integration tests
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed May 7, 2024
1 parent c139a64 commit 0fe7ba9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/integration/features/bootstrap/FeatureContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 0fe7ba9

Please sign in to comment.