File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -189,14 +189,6 @@ public function testOptionsPageRespectsGraphqlFieldName() {
189189 ]
190190 );
191191
192- $ expected_value = 'test value ' ;
193-
194- // Save a value to the ACF Option Field
195- // see: https://www.advancedcustomfields.com/resources/update_field/#update-a-value-from-different-objects
196- update_field ( 'text ' , $ expected_value , 'custom-graphql-name ' );
197- $ get_field = get_field ( 'text ' , 'custom-graphql-name ' );
198-
199-
200192 $ this ->register_acf_field ( [], [
201193 'graphql_field_name ' => 'OptionsFields ' ,
202194 'location ' => [
@@ -210,6 +202,14 @@ public function testOptionsPageRespectsGraphqlFieldName() {
210202 ],
211203 ]);
212204
205+ $ expected_value = 'test value ' ;
206+
207+ // Save a value to the ACF Option Field
208+ // see: https://www.advancedcustomfields.com/resources/update_field/#update-a-value-from-different-objects
209+ update_field ( 'text ' , $ expected_value , 'custom-graphql-name ' );
210+ $ get_field = get_field ( 'text ' , 'custom-graphql-name ' );
211+
212+
213213 $ query = '
214214 {
215215 myCustomOptionsName { # this is the name of the options page based on graphql_type_name
You can’t perform that action at this time.
0 commit comments