I would like to use MinkContext functions in FeatureContext and other Context named as ApiContext. But when I try to use, I got below error.
Is there anyone who solved this issue? Thanks.
Step "the response should be json" is already defined in FeatureContext::theResponseShouldBeJson()
My FeatureContext class like: class FeatureContext extends MinkContext
My ApiContext class like: class ApiContext extends FeatureContext implements Context
I would like to use MinkContext functions in FeatureContext and other Context named as ApiContext. But when I try to use, I got below error.
Is there anyone who solved this issue? Thanks.
Step "the response should be json" is already defined in FeatureContext::theResponseShouldBeJson()
My FeatureContext class like: class FeatureContext extends MinkContext My ApiContext class like: class ApiContext extends FeatureContext implements Context
And my behat yml is like: