mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Editor: Fix Theme.json font settings in unit test.
These changes fix incorrect font settings when testing the generation of a theme.json stylesheet. Props aaronrobertshaw, mukesh27. Fixes #60341. git-svn-id: https://develop.svn.wordpress.org/trunk@57497 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b999860bb6
commit
621ac049c6
@ -530,12 +530,19 @@ class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
|
||||
'typography' => array(
|
||||
'fontFamilies' => array(
|
||||
array(
|
||||
'slug' => 'small',
|
||||
'fontFamily' => '14px',
|
||||
'name' => 'Arial',
|
||||
'slug' => 'arial',
|
||||
'fontFamily' => 'Arial, serif',
|
||||
),
|
||||
),
|
||||
'fontSizes' => array(
|
||||
array(
|
||||
'slug' => 'small',
|
||||
'size' => '14px',
|
||||
),
|
||||
array(
|
||||
'slug' => 'big',
|
||||
'fontFamily' => '41px',
|
||||
'slug' => 'big',
|
||||
'size' => '41px',
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user