diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php index 7a4757e24..f6d3005fd 100644 --- a/tests/integration/features/bootstrap/FeatureContext.php +++ b/tests/integration/features/bootstrap/FeatureContext.php @@ -611,7 +611,8 @@ public function userTables(string $user, TableNode $body = null): void { $titles[] = $d['title']; } foreach ($body->getRows()[0] as $tableTitle) { - Assert::assertTrue(in_array($tableTitle, $titles, true)); + $message = sprintf('"%s" not in the list: %s', $tableTitle, implode(', ', $titles)); + Assert::assertTrue(in_array($tableTitle, $titles, true), $message); } }