diff --git a/tests/php/test-amp-style-sanitizer.php b/tests/php/test-amp-style-sanitizer.php index 3f5366099d8..458046b3600 100644 --- a/tests/php/test-amp-style-sanitizer.php +++ b/tests/php/test-amp-style-sanitizer.php @@ -2612,7 +2612,7 @@ static function() { 'wp_footer', function() { ?> -
+
assertStringContains( 'admin-bar', $original_dom->body->getAttribute( 'class' ) ); $this->assertStringContains( 'earlyprintstyle', $original_source, 'Expected early print style to not be present.' ); - $this->assertStringContains( '.is-style-outline .wp-block-button__link', $amphtml_source, 'Expected block-library/style.css' ); + $this->assertStringContains( '.wp-block-audio figcaption', $amphtml_source, 'Expected block-library/style.css' ); $this->assertStringContains( '[class^="wp-block-"]:not(.wp-block-gallery) figcaption', $amphtml_source, 'Expected twentyten/blocks.css' ); $this->assertStringContains( 'amp-img.amp-wp-enforced-sizes', $amphtml_source, 'Expected amp-default.css' ); $this->assertStringContains( 'ab-empty-item', $amphtml_source, 'Expected admin-bar.css to still be present.' );