From f2e697da40dae533d3eccd9bf703bfe740e9dbc1 Mon Sep 17 00:00:00 2001 From: Paul Kevan Date: Tue, 17 Feb 2026 11:59:37 +0000 Subject: [PATCH] Tests: Add enable_real_time_collaboration to REST settings test expected values The test_get_items test in WP_Test_REST_Settings_Controller hardcodes the expected list of settings exposed via the REST API. The new enable_real_time_collaboration setting was registered with show_in_rest but not added to this expected list, causing the test to fail. --- tests/phpunit/tests/rest-api/rest-settings-controller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/phpunit/tests/rest-api/rest-settings-controller.php b/tests/phpunit/tests/rest-api/rest-settings-controller.php index e8f90b53f20f1..eee2605531cc9 100644 --- a/tests/phpunit/tests/rest-api/rest-settings-controller.php +++ b/tests/phpunit/tests/rest-api/rest-settings-controller.php @@ -119,6 +119,7 @@ public function test_get_items() { 'default_ping_status', 'default_comment_status', 'site_icon', // Registered in wp-includes/blocks/site-logo.php + 'enable_real_time_collaboration', ); if ( ! is_multisite() ) {