Simplify services definition in Behat
This commit is contained in:
@@ -123,6 +123,14 @@ CON
|
||||
$this->thereIsFile('config/services.yaml', '');
|
||||
}
|
||||
|
||||
/**
|
||||
* @Given /^a YAML services file containing:$/
|
||||
*/
|
||||
public function yamlServicesFile($content): void
|
||||
{
|
||||
$this->thereIsFile('config/services.yaml', (string) $content);
|
||||
}
|
||||
|
||||
/**
|
||||
* @Given /^a Behat configuration containing(?: "([^"]+)"|:)$/
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user