Skip to content

Commit

Permalink
Update phpunit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ajlende committed Sep 9, 2021
1 parent 3c0a97e commit ec86c0b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions phpunit/class-wp-theme-json-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,9 @@ public function test_merge_incoming_data_empty_presets() {
'version' => WP_Theme_JSON_Gutenberg::LATEST_SCHEMA,
'settings' => array(
'color' => array(
'duotone' => array(),
'duotone' => array(
'theme' => array(),
),
'gradients' => array(
'theme' => array(),
),
Expand Down Expand Up @@ -872,9 +874,11 @@ public function test_merge_incoming_data_null_presets() {
'color' => array(
'custom' => false,
'duotone' => array(
array(
'slug' => 'value',
'colors' => array( 'red', 'green' ),
'theme' => array(
array(
'slug' => 'value',
'colors' => array( 'red', 'green' ),
),
),
),
'gradients' => array(
Expand Down

0 comments on commit ec86c0b

Please sign in to comment.