MDL-84448 behat: return null if theme has no config
This commit is contained in:
@@ -166,7 +166,7 @@ class behat_context_helper {
|
||||
$themeconfig = theme_config::load($suitename);
|
||||
} catch (Exception $e) {
|
||||
// This theme has no theme config.
|
||||
return [];
|
||||
return null;
|
||||
}
|
||||
|
||||
// The theme will use all core contexts, except the one overridden by theme or its parent.
|
||||
|
||||
Reference in New Issue
Block a user