mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
simpletestlib: Fix typo in error message
This commit is contained in:
parent
da2f44111a
commit
7fa95ef177
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user