Tests: Update unit tests to account for lazy-loading being disabled for custom logos by default.
Follow-up to [48870]. See #50933. git-svn-id: https://develop.svn.wordpress.org/trunk@48874 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
bae635f1a0
commit
c77798da22
@ -338,6 +338,7 @@ class Tests_General_Template extends WP_UnitTestCase {
|
|||||||
|
|
||||||
$custom_logo_attr = array(
|
$custom_logo_attr = array(
|
||||||
'class' => 'custom-logo',
|
'class' => 'custom-logo',
|
||||||
|
'loading' => false,
|
||||||
);
|
);
|
||||||
|
|
||||||
// If the logo alt attribute is empty, use the site title.
|
// If the logo alt attribute is empty, use the site title.
|
||||||
@ -369,6 +370,7 @@ class Tests_General_Template extends WP_UnitTestCase {
|
|||||||
false,
|
false,
|
||||||
array(
|
array(
|
||||||
'class' => 'custom-logo',
|
'class' => 'custom-logo',
|
||||||
|
'loading' => false,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user