Skip to content

Commit 8e761b3

Browse files
committed
behat problems fixed
1 parent d7cb0d8 commit 8e761b3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/behat/behat_mod_moodleoverflow.php

+3-6
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,7 @@ protected function find_moodleoverflow_discussion_card(string $discussiontitle):
128128
*
129129
* This step is for advanced users, use it if you don't find anything else suitable for what you need.
130130
*
131-
* @Then /^"(?P<element_string>(?:[^"]|\\")*)" "(?P<selector_string>[^"]*)" should exist in the
132-
* "(?P<element2_string>(?:[^"]|\\")*)" moodleoverflow discussion card$/
131+
* @Then /^"(?P<element_string>(?:[^"]|\\")*)" "(?P<selector_string>[^"]*)" should exist in the "(?P<element2_string>(?:[^"]|\\")*)" moodleoverflow discussion card$/
133132
* @throws ElementNotFoundException Thrown by behat_base::find
134133
* @param string $element The locator of the specified selector
135134
* @param string $selectortype The selector type
@@ -150,8 +149,7 @@ public function should_exist_in_the_moodleoverflow_discussion_card($element, $se
150149
/**
151150
* Click on the element of the specified type which is located inside the second element.
152151
*
153-
* @When /^I click on "(?P<element_string>(?:[^"]|\\")*)" "(?P<selector_string>[^"]*)" in the
154-
* "(?P<element2_string>(?:[^"]|\\")*)" moodleoverflow discussion card$/
152+
* @When /^I click on "(?P<element_string>(?:[^"]|\\")*)" "(?P<selector_string>[^"]*)" in the "(?P<element2_string>(?:[^"]|\\")*)" moodleoverflow discussion card$/
155153
* @param string $element Element we look for
156154
* @param string $selectortype The type of what we look for
157155
* @param string $discussiontitle The discussion title
@@ -175,8 +173,7 @@ public function i_click_on_in_the_moodleoverflow_discussion_card($element, $sele
175173
*
176174
* This step is for advanced users, use it if you don't find anything else suitable for what you need.
177175
*
178-
* @Then /^"(?P<element_string>(?:[^"]|\\")*)" "(?P<selector_string>[^"]*)" should not exist in the
179-
* "(?P<element2_string>(?:[^"]|\\")*)" moodleoverflow discussion card$/
176+
* @Then /^"(?P<element_string>(?:[^"]|\\")*)" "(?P<selector_string>[^"]*)" should not exist in the "(?P<element2_string>(?:[^"]|\\")*)" moodleoverflow discussion card$/
180177
* @throws ExpectationException
181178
* @param string $element The locator of the specified selector
182179
* @param string $selectortype The selector type

0 commit comments

Comments
 (0)