Added warnings in case plugin is not properly configured.

This commit is contained in:
Daniel Thee Roperto
2016-11-14 15:02:30 +11:00
parent 739c92e94e
commit 3360d357d4
10 changed files with 53 additions and 14 deletions

View File

@@ -103,7 +103,7 @@ class cli_test extends auth_outage_cli_testcase {
\core\session\manager::gc(); // Remove stale sessions.
core_plugin_manager::reset_caches();
// Try to create an CLI object.
$this->set_expected_cli_exception(cli_exception::ERROR_PLUGIN_DISABLED);
$this->set_expected_cli_exception(cli_exception::ERROR_PLUGIN_CONFIGURATION);
new create();
}
}