From 3f7add7d995946d3f6c57c9e9c1e77167c000943 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 27 Aug 2020 02:01:51 +0000 Subject: [PATCH] Tests: Update one more test to account for lazy-loading being disabled for custom logos by default. Follow-up to [48870], [48874]. Props desrosj. See #50933. git-svn-id: https://develop.svn.wordpress.org/trunk@48878 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/general/template.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/tests/general/template.php b/tests/phpunit/tests/general/template.php index 3080066dbe..b55bd37cb3 100644 --- a/tests/phpunit/tests/general/template.php +++ b/tests/phpunit/tests/general/template.php @@ -308,7 +308,8 @@ class Tests_General_Template extends WP_UnitTestCase { $this->_set_custom_logo(); $custom_logo_attr = array( - 'class' => 'custom-logo', + 'class' => 'custom-logo', + 'loading' => false, ); // If the logo alt attribute is empty, use the site title.