From 98907dbaaafb1f17f94fb47187a8f6622d8102e6 Mon Sep 17 00:00:00 2001
From: dwoolhead <dwoolhead>
Date: Fri, 27 Jul 2007 11:13:22 +0000
Subject: [PATCH] Correct display of unittest results for IE

---
 admin/report/simpletest/ex_reporter.php | 4 ++--
 theme/standard/styles_color.css         | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/admin/report/simpletest/ex_reporter.php b/admin/report/simpletest/ex_reporter.php
index eb23fc902f..741ed9b08e 100644
--- a/admin/report/simpletest/ex_reporter.php
+++ b/admin/report/simpletest/ex_reporter.php
@@ -147,9 +147,9 @@ class ExHtmlReporter extends HtmlReporter {
         $summarydata->exceptions = $this->getExceptionCount();
 
         if ($summarydata->fails == 0 && $summarydata->exceptions == 0) {
-            $status = "pass";
+            $status = "passed";
         } else {
-            $status = "fail";
+            $status = "failed";
         }
         echo '<div class="unittestsummary ', $status, '">';
         echo $this->get_string('summary', $summarydata);
diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css
index 0c881c91f8..07e5539973 100644
--- a/theme/standard/styles_color.css
+++ b/theme/standard/styles_color.css
@@ -311,11 +311,11 @@ table.flexible .r1 {
   color: white;
 }
 
-#admin-report-simpletest-index .unittestsummary.fail {
+#admin-report-simpletest-index .unittestsummary.failed {
   background-color: red;
 }
 
-#admin-report-simpletest-index .unittestsummary.pass {
+#admin-report-simpletest-index .unittestsummary.passed {
   background-color: green;
 }
 
-- 
2.39.5