Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
4187b3e5
Commit
4187b3e5
authored
Oct 05, 2016
by
Andrew Nicols
Browse files
MDL-55713 behat: Correct all references to selectortype
parent
b31984d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/behat/classes/behat_config_util.php
View file @
4187b3e5
...
...
@@ -482,7 +482,7 @@ class behat_config_util {
// Remove selectors from step definitions.
$themes
=
$this
->
get_list_of_themes
();
$selectortypes
=
[
'partial'
,
'exact'
];
$selectortypes
=
[
'
named_
partial'
,
'
named_
exact'
];
foreach
(
$themes
as
$theme
)
{
foreach
(
$selectortypes
as
$selectortype
)
{
// Don't include selector classes.
...
...
@@ -1299,7 +1299,7 @@ class behat_config_util {
$this
->
overriddenthemescontexts
[
$context
]
=
$path
;
}
$selectortypes
=
[
'partial'
,
'exact'
];
$selectortypes
=
[
'
named_
partial'
,
'
named_
exact'
];
foreach
(
$selectortypes
as
$selectortype
)
{
// Don't include selector classes.
if
(
$context
===
self
::
get_behat_theme_selector_override_classname
(
$theme
,
$selectortype
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment