mirror of
https://github.com/catalyst/moodle-auth_outage.git
synced 2026-10-22 18:18:07 +02:00
Don't use curl when running behat tests to get page outage.
Behat step improvements.
This commit is contained in:
1 parent
6c69d46ebe
commit
3639883d30
2 files changed
+3
-2
No files matched your search
@@ -57,7 +57,7 @@ class maintenance_static_page {
|
||||
|
||||
if (is_null($outage)) {
|
||||
$html = null;
|
||||
} else if (PHPUNIT_TEST) {
|
||||
} else if (PHPUNIT_TEST || BEHAT_SITE_RUNNING) {
|
||||
$html = '<html></html>';
|
||||
} else {
|
||||
$data = maintenance_static_page_io::file_get_data(
|
||||
|
||||
Reference in new issue
Block a user