Skip to content

Commit f845c4e

Browse files
committed
Allow Test_AMP_Core_Block_Handler::test_register_and_unregister_embed to run now that WordPress/gutenberg#25026 has been merged
1 parent a393acf commit f845c4e

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

tests/php/test-class-amp-core-block-handler.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,18 +77,6 @@ public function test_register_and_unregister_embed() {
7777
$categories_block = '<!-- wp:categories {"displayAsDropdown":true,"showHierarchy":true,"showPostCounts":true} /-->';
7878
$archives_block = '<!-- wp:archives {"displayAsDropdown":true,"showPostCounts":true} /-->';
7979

80-
if (
81-
defined( 'GUTENBERG_VERSION' )
82-
&&
83-
(
84-
version_compare( GUTENBERG_VERSION, '8.9.0', '==' )
85-
||
86-
version_compare( GUTENBERG_VERSION, '8.9.1', '==' )
87-
)
88-
) {
89-
$this->markTestSkipped( 'See https://github.com/WordPress/gutenberg/pull/25026' );
90-
}
91-
9280
$handler->register_embed();
9381
$rendered = do_blocks( $categories_block );
9482
$this->assertStringContains( '<select', $rendered );

0 commit comments

Comments
 (0)