]> git.mjollnir.org Git - moodle.git/commitdiff
simpletestlib: Fix typo in error message
authortjhunt <tjhunt>
Fri, 3 Apr 2009 08:38:30 +0000 (08:38 +0000)
committertjhunt <tjhunt>
Fri, 3 Apr 2009 08:38:30 +0000 (08:38 +0000)
lib/simpletestlib.php

index 346b5266216746f0561a5ec2a24d67019464ed7b..885eaad86751b91556f0662177d96c415a1e8209 100644 (file)
@@ -201,7 +201,7 @@ class UnitTestCaseUsingDatabase extends UnitTestCase {
     protected function revert_to_real_db() {
         global $DB;
         if ($DB !== $this->testdb) {
-            debugging('revert_to_real_db called when the test DB was already selected. This suggest you are doing something wrong and dangerous. Please review your code immediately.', DEBUG_DEVELOPER);
+            debugging('revert_to_real_db called when the test DB was not already selected. This suggest you are doing something wrong and dangerous. Please review your code immediately.', DEBUG_DEVELOPER);
         }
         $DB = $this->realdb;
     }