Skip to content

Commit

Permalink
chore : rephrase comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Ta5r committed Sep 24, 2024
1 parent 75c9cac commit 45cde66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .changeset/empty-pants-live.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@wpengine/wp-graphql-content-blocks": patch
---

tests : Core list blocks and core list-item blocks
tests : Add tests for `CoreList` and `CoreListItem` blocks.
8 changes: 4 additions & 4 deletions tests/unit/CoreListTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ className
/**
* Test case for retrieving core list block fields and attributes.
*
* Covers : 'anchor', 'backgroundColor', 'className', and 'cssClassName'.
* Covers : 'anchor', 'backgroundColor', 'className', 'cssClassName' and 'values'.
*/
public function test_retrieve_core_list_fields_and_attribute(): void {
$block_content = '
Expand Down Expand Up @@ -330,7 +330,7 @@ public function test_retrieve_core_list_attributes_ordered_and_reversed(): void
/**
* Test case for retrieving core list block fields and attributes.
*
* Covers : 'start', 'style', and 'textColor'.
* Covers : 'start', 'style', 'textColor' and 'type'.
*/
public function test_retrieve_core_list_attributes_start_and_styles(): void {
$block_content = '
Expand Down Expand Up @@ -557,7 +557,7 @@ className
/**
* Test case for retrieving core list item block fields and attributes.
*
* Covers : 'placeholder' and 'style' attribute.
* Covers : 'style' attribute.
*/
public function test_retrieve_core_list_item_untested_attributes(): void {
// fontFamily, fontSize and style are only supported in WP 6.2+.
Expand Down Expand Up @@ -682,7 +682,7 @@ className
'fontFamily' => null,
'fontSize' => null,
'lock' => null,
'placeholder' => null, // Previously untested.
'placeholder' => null,
'style' => wp_json_encode( [ 'typography' => [ 'textDecoration' => 'underline' ] ] ), // Previously untested.
],
$block['attributes'],
Expand Down

0 comments on commit 45cde66

Please sign in to comment.