diff --git a/features/plugin-activate.feature b/features/plugin-activate.feature index 9cbae57c..c4b9479a 100644 --- a/features/plugin-activate.feature +++ b/features/plugin-activate.feature @@ -35,7 +35,7 @@ Feature: Activate WordPress plugins And the return code should be 1 Scenario: Activate all when one plugin is hidden by "all_plugins" filter - Given I run `wp plugin install user-switching` + Given I run `wp plugin install site-secrets` And a wp-content/mu-plugins/hide-us-plugin.php file: """ parse_url_host_component( $slug, PHP_URL_PATH ), '.zip' ); @@ -193,7 +193,7 @@ public function install( $args, $assoc_args ) { return new WP_Error( 'wpcli_install_github', "Couldn't move Github-based project to appropriate directory." ); }; - add_filter( 'upgrader_source_selection', $filter, 10, 3 ); + add_filter( 'upgrader_source_selection', $filter, 10 ); } if ( $file_upgrader->install( $slug ) ) {