Skip to content

Commit

Permalink
Remove obsolete colorSlug attributes from border test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Apr 12, 2022
1 parent 4873de1 commit 103bf31
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions phpunit/block-supports/border-test.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,28 +430,24 @@ function test_split_borders_with_named_colors() {
'style' => array(
'border' => array(
'top' => array(
'width' => '2px',
'style' => 'dashed',
'color' => 'var:preset|color|red',
'colorSlug' => 'red',
'width' => '2px',
'style' => 'dashed',
'color' => 'var:preset|color|red',
),
'right' => array(
'width' => '0.25rem',
'style' => 'dotted',
'color' => 'var:preset|color|green',
'colorSlug' => 'green',
'width' => '0.25rem',
'style' => 'dotted',
'color' => 'var:preset|color|green',
),
'bottom' => array(
'width' => '0.5em',
'style' => 'solid',
'color' => 'var:preset|color|blue',
'colorSlug' => 'blue',
'width' => '0.5em',
'style' => 'solid',
'color' => 'var:preset|color|blue',
),
'left' => array(
'width' => '1px',
'style' => 'solid',
'color' => 'var:preset|color|yellow',
'colorSlug' => 'yellow',
'width' => '1px',
'style' => 'solid',
'color' => 'var:preset|color|yellow',
),
),
),
Expand Down

0 comments on commit 103bf31

Please sign in to comment.