test(cloudflared): cover a tunnel lookup that fails with another status

Assisted-by: Claude Code:claude-opus-5-5
This commit is contained in:
Defame1297 committed 2026-11-23 14:22:22 +00:00
1 parent fea99a8207
commit ee0fa0e89e
2 files changed
+5

No files matched your search

@@ -158,6 +158,10 @@
- name: tunnel-unknown
vars: {cloudflared_tunnel_id: 6f1a6e2c-0000-4000-8000-00000000000f}
expect: (HTTP 404)
# The stub answers 403 to any other token.
- name: token-refused
vars: {cloudflared_tunnel_api_token: molecule-wrong-token}
expect: The Cloudflare tunnel lookup failed (HTTP 403)
- name: zone-unknown
vars: {cloudflared_manage_dns: true, cloudflared_zone_name: missing.example.test}
expect: No Cloudflare zone found named missing.example.test