From 3d549593e4fa7fab5f5f492a3f5c7f84d01e27c2 Mon Sep 17 00:00:00 2001 From: Guilhem Lemouel Date: Fri, 23 Oct 2026 06:01:43 -0700 Subject: [PATCH] test: check the reason for the unsandboxed mode-only refusal Co-Authored-By: Claude Opus 5.5 (1M context) --- backend/tests/app_access_mode_only.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/tests/app_access_mode_only.rs b/backend/tests/app_access_mode_only.rs index b113e9de9a..63c9bb37db 100644 --- a/backend/tests/app_access_mode_only.rs +++ b/backend/tests/app_access_mode_only.rs @@ -266,6 +266,7 @@ async fn test_access_mode_only_update(db: Pool) -> anyhow::Result<()> ) .await?; assert_eq!(status, 403, "{body}"); + assert!(body.contains("is not sandboxed"), "{body}"); let p = policy(&db, BUILT).await?; assert!(p.get("sandbox").is_none(), "{p}"); assert_eq!(p["execution_mode"], "anonymous");