Skip to content

Commit 8012a6c

Browse files
committed
Unregister test block type during teardown
1 parent 7711143 commit 8012a6c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/phpunit/tests/blocks/applyBlockHooksToContentFromPostObject.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public static function wpTearDownAfterClass() {
109109

110110
$registry->unregister( 'tests/hooked-block' );
111111
$registry->unregister( 'tests/hooked-block-first-child' );
112+
$registry->unregister( 'tests/other-hooked-block' );
112113
}
113114

114115
/**

0 commit comments

Comments
 (0)