diff --git a/tests/behat/features/plugin-check.feature b/tests/behat/features/plugin-check.feature index 6a9be850d..1b95e37f2 100644 --- a/tests/behat/features/plugin-check.feature +++ b/tests/behat/features/plugin-check.feature @@ -286,23 +286,33 @@ Feature: Test that the WP-CLI command works. Scenario: Check a plugin with addon enabled with extra checks Given a WP install with the Plugin Check plugin - And a wp-content/plugins/pcp-addon/pcp-addon.php file: + And a wp-content/plugins/pcp-addon/class-postsperpage-check.php file: """ 'php', + 'standard' => plugin_dir_path( __FILE__ ) . 'postsperpage.xml', + ); + } + } + """ + And a wp-content/plugins/pcp-addon/class-prohibited-text-check.php file: + """ + 'php', - 'standard' => plugin_dir_path( __FILE__ ) . 'postsperpage.xml', - ); - } - } + And a wp-content/plugins/pcp-addon/pcp-addon.php file: + """ +