From: tjhunt Date: Fri, 3 Apr 2009 08:38:30 +0000 (+0000) Subject: simpletestlib: Fix typo in error message X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=7fa95ef1776a6de0cd74bc3a0d7d210bf1edad4e;p=moodle.git simpletestlib: Fix typo in error message --- diff --git a/lib/simpletestlib.php b/lib/simpletestlib.php index 346b526621..885eaad867 100644 --- a/lib/simpletestlib.php +++ b/lib/simpletestlib.php @@ -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; }