From 2fa0ba02d3c7c38e29945ed5f7defb9eb0e77ec0 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 12 Dec 2024 13:49:20 +1300 Subject: [PATCH] MNT Fix unit test --- tests/php/View/Embed/MockResponse.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/php/View/Embed/MockResponse.php b/tests/php/View/Embed/MockResponse.php index 65785047afd..872436cf4e4 100644 --- a/tests/php/View/Embed/MockResponse.php +++ b/tests/php/View/Embed/MockResponse.php @@ -56,6 +56,9 @@ public function getHeader($name) public function getHeaderLine($name) { + if (strtolower($name) === 'content-type') { + return 'text/html; charset=utf-8'; + } return ''; }