Skip to content

Commit 5626533

Browse files
committed
- change order of cleanup
1 parent bfe55b1 commit 5626533

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/wpunit/FieldTypes/TaxonomyFieldTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,8 @@ public function testTaxonomyFieldReturnsExpectedNodeWhenObjectIsSavedInsteadOfId
471471
]);
472472

473473
// cleanup
474-
unregister_taxonomy( 'test_taxonomy' );
475474
wp_delete_term( $term_object->term_id, 'test_taxonomy' );
475+
unregister_taxonomy( 'test_taxonomy' );
476476

477477
}
478478

0 commit comments

Comments
 (0)