Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SnippetAcceptingContext is deprecated #537

Closed
danepowell opened this issue Jul 1, 2019 · 1 comment · Fixed by #547
Closed

SnippetAcceptingContext is deprecated #537

danepowell opened this issue Jul 1, 2019 · 1 comment · Fixed by #547

Comments

@danepowell
Copy link

I followed the local installation instructions here: https://behat-drupal-extension.readthedocs.io/en/3.1/localinstall.html

When I initialized Behat, it generated a FeatureContext.php that looks like the template in those docs.

The problem is that my deprecation tests immediately exploded because that class implements SnippetAcceptingContext, which as been deprecated for a few years now: Behat/Behat#922

I'll be the first to admit I'm not super familiar with snippets are/should be handled, but it seems like the docs and code should be revised to not generate deprecated code.

@jhedstrom
Copy link
Owner

Thanks for reporting this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants