Skip to content
Snippets Groups Projects
Unverified Commit af846d5f authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #18638 from eileenmcnaughton/test_perf

[Civi\Test] Fix test output noise
parents 853a0e3b 757f4422
Branches
Tags
No related merge requests found
......@@ -26,8 +26,10 @@ class Schema {
);
$tables = $pdo->query($query);
$result = [];
foreach ($tables as $table) {
$result[] = $table['TABLE_NAME'] ?? $table['table_name'];
if (!empty($tables)) {
foreach ($tables as $table) {
$result[] = $table['TABLE_NAME'] ?? $table['table_name'];
}
}
return $result;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment