Skip to content

Commit c532f10

Browse files
committed
Add additional Behat test
1 parent 5875a80 commit c532f10

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

tests/behat/features/plugin-check.feature

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,10 +514,18 @@ Feature: Test that the WP-CLI command works.
514514
WordPress.WP.EnqueuedResourceParameters.NotInFooter,WARNING
515515
"""
516516

517-
# This doesn't currently work, because we are not actually loading any other plugins, including pcp-addon.
517+
# This doesn't currently work, because we are not actually loading any other plugins, including pcp-addon.
518518
# And STDOUT should contain:
519519
# """
520520
# ExampleRuntimeCheck.ForbiddenScript,WARNING
521+
# """
522+
523+
# This doesn't currently work.
524+
# Run one runtime check from PCP and one from pcp-addon.
525+
# When I run the WP-CLI command `plugin check foo-sample --checks=non_blocking_scripts,example_runtime --fields=code,type --format=csv --require=./wp-content/plugins/plugin-check/cli.php`
526+
# Then STDOUT should contain:
527+
# """
528+
# ExampleRuntimeCheck.ForbiddenScript,WARNING
521529
# """
522530

523531
# This doesn't currently work, because we are not actually loading any other plugins, including pcp-addon.

0 commit comments

Comments
 (0)