From 65cfa35d5fe3143d4d24846607f6084d432e1a80 Mon Sep 17 00:00:00 2001 From: Adam Silverstein Date: Sat, 10 Feb 2024 13:58:06 -0700 Subject: [PATCH] Improve tests, add YouTube embed --- .../js-and-css/optimize-embeds/optimize-oembeds-test.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/modules/js-and-css/optimize-embeds/optimize-oembeds-test.php b/tests/modules/js-and-css/optimize-embeds/optimize-oembeds-test.php index 76a82dae4a..cb4d14210b 100644 --- a/tests/modules/js-and-css/optimize-embeds/optimize-oembeds-test.php +++ b/tests/modules/js-and-css/optimize-embeds/optimize-oembeds-test.php @@ -100,8 +100,8 @@ public function test_oembed_optimize_html_data() { // Scribd embed. array( + '', '', - null, // No change. ), // Crowdsignal / Polldaddy embed. @@ -109,6 +109,12 @@ public function test_oembed_optimize_html_data() { '
', null, // No change. ), + + // YouTube embed. + array( + '', + '', + ), ); } }