simpletestlib: Fix typo in error message

This commit is contained in:
tjhunt 2009-04-03 08:38:30 +00:00
parent da2f44111a
commit 7fa95ef177

View 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;
}