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
This commit is contained in:
parent
55d04cb50f
commit
4920716b4d
|
@ -27,6 +27,7 @@ class Tests_Post extends WP_UnitTestCase {
|
|||
foreach ( $ids as $id ) {
|
||||
self::delete_user( $id );
|
||||
}
|
||||
remove_role( 'grammarian' );
|
||||
}
|
||||
|
||||
function setUp() {
|
||||
|
|
Loading…
Reference in New Issue