File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -120,4 +120,4 @@ if [[ "${WP_CLI_TEST_COVERAGE}" == "true" ]] && vendor/bin/behat --help 2>/dev/n
120120fi
121121
122122# Run the functional tests.
123- vendor/bin/behat --format progress " $BEHAT_TAGS " --strict " ${BEHAT_EXTRA_ARGS[@]} " " $@ "
123+ vendor/bin/behat --snippets-for= " WP_CLI\Tests\Context\FeatureContext " -- format progress " $BEHAT_TAGS " --strict " ${BEHAT_EXTRA_ARGS[@]} " " $@ "
Original file line number Diff line number Diff line change 22
33namespace WP_CLI \Tests \Context ;
44
5- use Behat \Behat \Context \SnippetAcceptingContext ;
5+ use Behat \Behat \Context \Context ;
66use Behat \Behat \EventDispatcher \Event \OutlineTested ;
77use Behat \Behat \Hook \Scope \AfterScenarioScope ;
88use Behat \Behat \Hook \Scope \BeforeScenarioScope ;
1313use Behat \Behat \Hook \Scope \AfterFeatureScope ;
1414use Behat \Behat \Hook \Scope \BeforeFeatureScope ;
1515use Behat \Behat \Hook \Scope \BeforeStepScope ;
16- use Behat \Testwork \Hook \Scope \HookScope ;
1716use SebastianBergmann \CodeCoverage \Report \Clover ;
1817use SebastianBergmann \CodeCoverage \Driver \Selector ;
1918use SebastianBergmann \CodeCoverage \Driver \Xdebug ;
2019use SebastianBergmann \CodeCoverage \Filter ;
2120use SebastianBergmann \CodeCoverage \CodeCoverage ;
2221use SebastianBergmann \Environment \Runtime ;
2322use RuntimeException ;
24- use WP_CLI ;
2523use DirectoryIterator ;
2624use WP_CLI \Process ;
2725use WP_CLI \ProcessRun ;
3331 *
3432 * @phpstan-ignore class.implementsDeprecatedInterface
3533 */
36- class FeatureContext implements SnippetAcceptingContext {
34+ class FeatureContext implements Context {
3735
3836 use GivenStepDefinitions;
3937 use ThenStepDefinitions;
You can’t perform that action at this time.
0 commit comments