Skip to content

Commit

Permalink
Merge pull request #11507 from creative-commoners/pulls/5.3/fix-unit-…
Browse files Browse the repository at this point in the history
…test

MNT Fix unit test
  • Loading branch information
GuySartorelli authored Dec 12, 2024
2 parents 61244b7 + 2fa0ba0 commit bd7c2af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/php/View/Embed/MockResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public function getHeader($name)

public function getHeaderLine($name)
{
if (strtolower($name) === 'content-type') {
return 'text/html; charset=utf-8';
}
return '';
}

Expand Down

0 comments on commit bd7c2af

Please sign in to comment.