Commit 8246a8b7 authored by Dominique Merle's avatar Dominique Merle 💬
Browse files

Linguistic adjustments for some french steps.

parent f7ce2115
......@@ -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)
......
......@@ -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)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment