Skip to content

Commit

Permalink
Fixed warning header as array in YAML tests generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Feb 25, 2021
1 parent 22f3874 commit 0d81be1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/template/test/warnings
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
$this->assertTrue(isset($headers['Warning']));
$expectedHeaders = :expected;
foreach ($expectedHeaders as $expected) {
$this->assertStringContainsString($expected, $headers['Warning'][0]);
$this->assertStringContainsString($expected, implode('', $headers['Warning']));
}

0 comments on commit 0d81be1

Please sign in to comment.