diff --git a/tests/phpunit/tests/post.php b/tests/phpunit/tests/post.php index ad72a2238e..71fe55efcc 100644 --- a/tests/phpunit/tests/post.php +++ b/tests/phpunit/tests/post.php @@ -27,6 +27,7 @@ class Tests_Post extends WP_UnitTestCase { foreach ( $ids as $id ) { self::delete_user( $id ); } + remove_role( 'grammarian' ); } function setUp() {