Commit 73469c3
test: skip TestInvalidAPIKeyRejected when auth is disabled (#41)
The non-RBAC e2e pass runs the service with no CYBORGDB_SERVICE_ROOT_KEY, so
authentication is disabled and any key is accepted — making the "invalid key
must be rejected" assertion fail. Skip the test when no root key is configured
(auth off); it still runs in the RBAC pass where auth is enforced.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5457376 commit 73469c3
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| |||
0 commit comments