From e47e387028eccf92237a506878e60ffa10e36809 Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Tue, 30 Apr 2019 12:21:32 +0200 Subject: [PATCH] Tests: display link instead of embed for Medium collections Medium does not support Collection embeds anymore. --- tests/php/modules/shortcodes/test-class.medium.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/php/modules/shortcodes/test-class.medium.php b/tests/php/modules/shortcodes/test-class.medium.php index 020b11580dfcc..2442a85a7cf5a 100644 --- a/tests/php/modules/shortcodes/test-class.medium.php +++ b/tests/php/modules/shortcodes/test-class.medium.php @@ -58,9 +58,9 @@ public function test_shortcode_medium_faux_embed_story() { } /** - * Verify that a post with a link to a Medium collection displays collection markup. + * Verify that a post with a link to a Medium collection displays link (collection embeds are not supported anymore). * - * @since 7.3.0 + * @since 7.4.0 */ public function test_shortcode_medium_faux_embed_collection() { $collection_url = 'https://medium.com/s/user-friendly'; @@ -68,7 +68,7 @@ public function test_shortcode_medium_faux_embed_collection() { $content = apply_filters( 'the_content', $collection_url ); $this->assertContains( - 'View this collection on Medium.com', $content ); }