Plugin not properly uninstalled after SSH related tests completes
Closed this issue · 1 comments
jeawhanlee commented
Before submitting an issue please check that you’ve completed the following steps:
- Made sure you’re on the latest version
- Used the search feature to ensure that the bug hasn’t been reported before
Describe the bug
When we run tests, at the end of the test, we delete the WPR directory directly which does not perform the necessary clean up of the plugin.
To Reproduce
Steps to reproduce the behavior:
- Run a test that depends on the SSH
- Wait for test to finish
- WPR is deleted from the list of plugins
- Check the DB and see that the transients and WPR related tables are still there.
Expected behavior
We need to uninstall the plugin properly so that the required hooks responsible for clearing the plugin data is fired.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
jeawhanlee commented
Closing as it's already addressed in this PR