Skip to content

Commit 87fc57a

Browse files
committed
Tests: Remove erroneous connector settings from rest-settings-controller
The connectors API key entries were incorrectly introduced during the trunk merge. Trunk does not include them in this test's expected array since the settings are dynamically registered and not present in the test context.
1 parent b3c8e11 commit 87fc57a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/phpunit/tests/rest-api/rest-settings-controller.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,6 @@ public function test_get_items() {
120120
'default_comment_status',
121121
'site_icon', // Registered in wp-includes/blocks/site-logo.php
122122
'wp_enable_real_time_collaboration',
123-
// Connectors API keys are registered in _wp_register_default_connector_settings() in wp-includes/connectors.php.
124-
'connectors_ai_anthropic_api_key',
125-
'connectors_ai_google_api_key',
126-
'connectors_ai_openai_api_key',
127123
);
128124

129125
if ( ! is_multisite() ) {

0 commit comments

Comments
 (0)