Skip to content

Commit

Permalink
Add additional Behat test
Browse files Browse the repository at this point in the history
  • Loading branch information
swissspidy committed Sep 5, 2024
1 parent 5875a80 commit c532f10
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/behat/features/plugin-check.feature
Original file line number Diff line number Diff line change
Expand Up @@ -514,10 +514,18 @@ Feature: Test that the WP-CLI command works.
WordPress.WP.EnqueuedResourceParameters.NotInFooter,WARNING
"""

# This doesn't currently work, because we are not actually loading any other plugins, including pcp-addon.
# This doesn't currently work, because we are not actually loading any other plugins, including pcp-addon.
# And STDOUT should contain:
# """
# ExampleRuntimeCheck.ForbiddenScript,WARNING
# """

# This doesn't currently work.
# Run one runtime check from PCP and one from pcp-addon.
# 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`
# Then STDOUT should contain:
# """
# ExampleRuntimeCheck.ForbiddenScript,WARNING
# """

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

0 comments on commit c532f10

Please sign in to comment.