From dec67ef2599e9985cc923b7f5cd81f55685db751 Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 18 Apr 2012 22:45:55 -0400 Subject: [PATCH] Add proper charset to web test runner. Fixes #2804 --- lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php b/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php index 98ff96146..9c59d03cc 100644 --- a/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php +++ b/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php @@ -33,12 +33,24 @@ class CakeHtmlReporter extends CakeBaseReporter { */ public function paintHeader() { $this->_headerSent = true; + $this->sendContentType(); $this->sendNoCacheHeaders(); $this->paintDocumentStart(); $this->paintTestMenu(); echo "