MDL-56614 behat: new steps for navigation without blocks
This commit is contained in:
+1
-4
@@ -387,10 +387,7 @@ class block_manager {
|
||||
$requiredbythemeblocks = $PAGE->theme->requiredblocks;
|
||||
}
|
||||
|
||||
// We need blocks for behat, till MDL-56614 gets in.
|
||||
if (defined('BEHAT_SITE_RUNNING')) {
|
||||
return array('navigation', 'settings');
|
||||
} else if ($requiredbythemeblocks === false) {
|
||||
if ($requiredbythemeblocks === false) {
|
||||
return array('navigation', 'settings');
|
||||
} else if ($requiredbythemeblocks === '') {
|
||||
return array();
|
||||
|
||||
Reference in New Issue
Block a user