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:
Gary Pendergast 2015-10-06 04:00:53 +00:00
parent 3eb876d7e9
commit da7ddeaeab

View File

@ -25,6 +25,7 @@ class Tests_Attachment_Slashes extends WP_UnitTestCase {
function tearDown() { function tearDown() {
wp_set_current_user( $this->old_current_user ); wp_set_current_user( $this->old_current_user );
wp_delete_user( $this->author_id );
parent::tearDown(); parent::tearDown();
} }