File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -168,3 +168,26 @@ Feature: Uninstall a WordPress plugin
168168 And the wp-content/languages/plugins/wordpress-importer-fr_FR.po file should not exist
169169 And the wp-content/languages/plugins/wordpress-importer-fr_FR.l10n.php file should not exist
170170 And STDERR should be empty
171+
172+ Scenario : Uninstalling a plugin should remove its update info
173+ Given a WP install
174+ And I run `wp plugin install wordpress-importer --version=0.6`
175+ And I run `wp plugin status wordpress-importer`
176+
177+ And I run `wp transient get --network update_plugins`
178+ Then STDOUT should contain:
179+ """
180+ wordpress-importer
181+ """
182+
183+ When I run `wp plugin uninstall wordpress-importer`
184+ Then STDOUT should contain:
185+ """
186+ Success:
187+ """
188+
189+ When I run `wp transient get --network update_plugins`
190+ Then STDOUT should not contain:
191+ """
192+ wordpress-importer
193+ """
You can’t perform that action at this time.
0 commit comments