Skip to content

Commit 6a8c84e

Browse files
committed
Revert "Fix failing tests in Test_AMP_YouTube_Embed_Handler"
This reverts commit 8e897bc.
1 parent 815e5cc commit 6a8c84e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/php/test-class-amp-youtube-embed-handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ public function test__conversion( $source, $expected, $fallback_for_expected = n
345345
$filtered_content = apply_filters( 'the_content', $source );
346346

347347
if (
348-
version_compare( strtok( get_bloginfo( 'version' ), '-' ), '4.6', '<' )
348+
version_compare( strtok( get_bloginfo( 'version' ), '-' ), '5.1', '<' )
349349
&& null !== $fallback_for_expected
350350
) {
351351
$this->assertEqualMarkup( $fallback_for_expected, $filtered_content );

0 commit comments

Comments
 (0)