From 4920716b4d99f91cf60dbae60f381bfa01ab9ef1 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 19 Nov 2015 16:46:43 +0000 Subject: [PATCH] Clean up the `grammarian` role so it doesn't pollute other tests. See #24153 git-svn-id: https://develop.svn.wordpress.org/trunk@35705 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/post.php | 1 + 1 file changed, 1 insertion(+) 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() {