From d255a8664475987e8dbc5f41ab41702e137a71dd Mon Sep 17 00:00:00 2001 From: zyycn Date: Sun, 2 Aug 2026 02:20:29 +0800 Subject: [PATCH] test(gateway): sync config rejection fixtures to current example The example config moved to codex_version 0.146.0 and desktop_build 6119, but the rejection tests still replaced the old values, silently no-op'ing and accepting invalid configs. Co-authored-by: Codex --- backend/apps/gateway/tests/bootstrap.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/apps/gateway/tests/bootstrap.rs b/backend/apps/gateway/tests/bootstrap.rs index 2bbc8348a..fe4dbf26e 100644 --- a/backend/apps/gateway/tests/bootstrap.rs +++ b/backend/apps/gateway/tests/bootstrap.rs @@ -135,7 +135,7 @@ fn config_loader_should_reject_removed_fingerprint_section() { #[test] fn config_loader_should_reject_invalid_codex_core_version() { - assert_rejected(valid_config().replace("codex_version: '0.145.0'", "codex_version: 'latest'")); + assert_rejected(valid_config().replace("codex_version: '0.146.0'", "codex_version: 'latest'")); } #[test] @@ -154,7 +154,7 @@ fn config_loader_should_reject_zero_server_port() { #[test] fn config_loader_should_reject_invalid_desktop_profile_fields() { - assert_rejected(valid_config().replace("desktop_build: '5828'", "desktop_build: 'build'")); + assert_rejected(valid_config().replace("desktop_build: '6119'", "desktop_build: 'build'")); } fn assert_rejected(config: String) {