From 54a8faab829a6cf648697219a4531a7214fe90dd Mon Sep 17 00:00:00 2001 From: Nilambar Sharma Date: Tue, 10 Dec 2024 12:43:46 +0545 Subject: [PATCH] Add feature test for unsupported plugin name --- tests/behat/features/plugin-check.feature | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/tests/behat/features/plugin-check.feature b/tests/behat/features/plugin-check.feature index c39dcd776..ebb7d190c 100644 --- a/tests/behat/features/plugin-check.feature +++ b/tests/behat/features/plugin-check.feature @@ -719,3 +719,27 @@ Feature: Test that the WP-CLI command works. """ readme_invalid_contributors """ + + Scenario: Check unsupported plugin name in plugin header field. + Given a WP install with the Plugin Check plugin + And a wp-content/plugins/foo-sample/foo-sample.php file: + """ +