Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
reminec
Limaju Server Symfony
Commits
8246a8b7
Commit
8246a8b7
authored
Oct 02, 2019
by
Dominique Merle
💬
Browse files
Linguistic adjustments for some french steps.
parent
f7ce2115
Changes
2
Hide whitespace changes
Inline
Side-by-side
features/bootstrap/ApiRestFeatureContext.php
View file @
8246a8b7
...
...
@@ -96,7 +96,7 @@ class ApiRestFeatureContext extends BaseFeatureContext
public
$that_tally
;
/**
* @When /^(?P<actor>.+?)(?P<try> (?:essa[iy]ez?|tente) de|) dépouill(?:e[szr]?|ent) le scrutin titré "(?P<title>.+)"$/ui
* @When /^(?P<actor>.+?)(?P<try> (?:essa[iy]ez?|tente) de|) dépouill(?:e[szr]?|ent)
(?: (?:de|à) nouveau)?
le scrutin titré "(?P<title>.+)"$/ui
* When /^(?P<actor>.+?)(?P<try> tr(?:y|ies) to)? tall(?:y|ies) the majority judgment poll titled "(?P<title>.+)"$/ui
*/
public
function
actorTalliesTheLimajuPollTitled
(
$actor
,
$try
,
$title
)
...
...
features/bootstrap/MainFeatureContext.php
View file @
8246a8b7
...
...
@@ -237,7 +237,7 @@ class MainFeatureContext extends BaseFeatureContext
/**
* @Then /^(?P<actor>.+?) should (?:(?P<ok>succeed)|(?P<ko>fail))$/
* @Then /^(?P<actor>.+?) devr(?:ai[st]|aient|ions) (?:(?P<ok>réussir)|(?P<ko>échouer))$/u
* @Then /^(?P<actor>.+?) devr(?:ai[st]|aient|ions)
(?: encore| aussi)?
(?:(?P<ok>réussir)|(?P<ko>échouer))$/u
*/
public
function
actorShouldSucceedOrFail
(
$actor
,
$ok
=
null
,
$ko
=
null
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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