diff --git a/scripts/acceptance/verify_route_control_plane.sh b/scripts/acceptance/verify_route_control_plane.sh index eedfa11a..6d976c88 100755 --- a/scripts/acceptance/verify_route_control_plane.sh +++ b/scripts/acceptance/verify_route_control_plane.sh @@ -125,7 +125,7 @@ create_group = json.loads((art / "01-create-group.json").read_text())["logical_g update_group = json.loads((art / "06-update-group.json").read_text())["logical_group"] update_route = json.loads((art / "07-update-route.json").read_text())["route"] list_routes = json.loads((art / "08-list-routes.json").read_text())["routes"] -route_models = json.loads((art / "09-list-route-models.json").read_text())["models"] +route_models = json.loads((art / "09-list-route-models.json").read_text())["route_models"] assert create_group["logical_group_id"] == group_id assert update_group["display_name"].startswith("P2T4 Control Plane Updated") diff --git a/scripts/test/test_real_host_scripts.sh b/scripts/test/test_real_host_scripts.sh index 01660046..0018ff0c 100755 --- a/scripts/test/test_real_host_scripts.sh +++ b/scripts/test/test_real_host_scripts.sh @@ -712,7 +712,7 @@ done printf '%s\n' '{"routes":[{"route_id":"primary-1700000000","weight":80}]}' ;; "GET http://crm.example.com/api/logical-groups/p2t4-cp-1700000000/routes/primary-1700000000/models") - printf '%s\n' '{"models":[{"public_model":"gpt-5.4","shadow_model":"gpt-5.4","status":"active"}]}' + printf '%s\n' '{"route_models":[{"public_model":"gpt-5.4","shadow_model":"gpt-5.4","status":"active"}]}' ;; *) echo "unexpected curl request: $method $url payload=$payload" >&2