Closed mraiffe closed 6 years ago
In symfony 2 parameter.yml
parameters: mycollection.parameter: param: value1 param2: value2
In behat.yml:
default: suites: default: contexts: - FeatureContext: collection_parameter: "%%mycollection.parameter%%" extensions: Behat\Symfony2Extension: ~
FeatureContext
public function __construct($parameters) { }
The problem probably come from ServiceArgumentResolver where argument are treated like all arguments are scalar.
There is a PR here if you're interested in taking a look.
In symfony 2 parameter.yml
In behat.yml:
FeatureContext
The problem probably come from ServiceArgumentResolver where argument are treated like all arguments are scalar.