Tests: Make the Attachment Slashes tests clean up after itself.
Fixes #34162. git-svn-id: https://develop.svn.wordpress.org/trunk@34852 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3eb876d7e9
commit
da7ddeaeab
@ -25,6 +25,7 @@ class Tests_Attachment_Slashes extends WP_UnitTestCase {
|
||||
|
||||
function tearDown() {
|
||||
wp_set_current_user( $this->old_current_user );
|
||||
wp_delete_user( $this->author_id );
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user