Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
updated unite test
Browse files Browse the repository at this point in the history
  • Loading branch information
rsm0128 committed Nov 10, 2021
1 parent 56cd1d3 commit 61b16a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion tests/wpunit/ExplicitOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public function testExplicitOptions() {
'show_in_graphql' => true,
'graphql_single_name' => 'acfCpt',
'graphql_plural_name' => 'acfCpts',
'public' => true,
]
);

Expand Down Expand Up @@ -148,7 +149,7 @@ public function testExplicitOptions() {
]
);

$expected_text_3 = 'test value2';
$expected_text_3 = 'test value3';
update_field( 'acf_text_field', $expected_text_3, $cpt_id );

// post assert validation.
Expand Down
4 changes: 2 additions & 2 deletions tests/wpunit/PostObjectFieldsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1213,8 +1213,8 @@ public function testQueryMultipleSelectFieldWithNoValueSet() {
public function testQueryFieldOnCustomPostType() {

register_post_type( 'acf_test', [
'show_ui' => true,
'show_in_graphql' => 'true',
'public' => true,
'show_in_graphql' => 'true',
'graphql_single_name' => 'acfTest',
'graphql_plural_name' => 'acfTests'
] );
Expand Down

0 comments on commit 61b16a6

Please sign in to comment.