]> git.mjollnir.org Git - moodle.git/commitdiff
Clarified unit test failure message.
authortjhunt <tjhunt>
Thu, 27 Jul 2006 10:43:14 +0000 (10:43 +0000)
committertjhunt <tjhunt>
Thu, 27 Jul 2006 10:43:14 +0000 (10:43 +0000)
lib/simpletest/testdatalib.php

index b92defd73eab8e1311cf6cc21a268989f5d48140..bb3a89e9e516dc82ae07d286884f426e7be6006b 100644 (file)
@@ -257,7 +257,7 @@ class datalib_test extends prefix_changing_test_case {
         $this->assertFalse(insert_record($this->table, $obj), 'Insert bad data - should fail.');
         $result = ob_get_contents();
         ob_end_clean();
-        $this->assert(new TextExpectation('ERROR:'), $result, 'Insert bad data - error should have been printed.');
+        $this->assert(new TextExpectation('ERROR:'), $result, 'Insert bad data - error should have been printed. This is known not to work on MySQL.');
     }
 }