File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -196,13 +196,6 @@ public function testOptionsPageRespectsGraphqlFieldName() {
196196 update_field ( 'text ' , $ expected_value , 'custom-graphql-name ' );
197197 $ get_field = get_field ( 'text ' , 'custom-graphql-name ' );
198198
199- codecept_debug ( [
200- '$get_field ' => $ get_field ,
201- '$options_pages ' => acf_get_options_pages (),
202- ]);
203-
204- $ this ->assertSame ( $ expected_value , $ get_field );
205-
206199
207200 $ this ->register_acf_field ( [], [
208201 'graphql_field_name ' => 'OptionsFields ' ,
@@ -219,8 +212,8 @@ public function testOptionsPageRespectsGraphqlFieldName() {
219212
220213 $ query = '
221214 {
222- myCustomOptionsName {
223- optionsFields {
215+ myCustomOptionsName { # this is the name of the options page based on graphql_type_name
216+ optionsFields { # this is the field name for the field group
224217 text
225218 }
226219 }
You can’t perform that action at this time.
0 commit comments