Skip to content

Commit 4f06d7d

Browse files
committed
- remove 2nd call to register options page
1 parent bd93fac commit 4f06d7d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/wpunit/OptionsPageTest.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -203,17 +203,6 @@ public function testOptionsPageRespectsGraphqlFieldName() {
203203

204204
$this->assertSame( $expected_value, $get_field );
205205

206-
$this->registerOptionsPage(
207-
[
208-
'page_title' => 'CustomGraphqlName',
209-
'menu_title' => __( 'Custom GraphQL Name' ),
210-
'menu_slug' => 'custom-graphql-name',
211-
'capability' => 'edit_posts',
212-
'post_id' => 'custom-graphql-name',
213-
// options pages will show in the Schema unless set to false
214-
'graphql_type_name' => 'MyCustomOptionsName',
215-
]
216-
);
217206

218207
$this->register_acf_field( [], [
219208
'graphql_field_name' => 'OptionsFields',

0 commit comments

Comments
 (0)