From 7fa95ef1776a6de0cd74bc3a0d7d210bf1edad4e Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 3 Apr 2009 08:38:30 +0000 Subject: [PATCH] simpletestlib: Fix typo in error message --- lib/simpletestlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simpletestlib.php b/lib/simpletestlib.php index 346b5266216..885eaad8675 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; }