Skip to content

Abort by default if a security handlers throws an error #136

Abort by default if a security handlers throws an error

Abort by default if a security handlers throws an error #136

Triggered via push January 22, 2025 18:33
Status Failure
Total duration 27s
Artifacts

tests.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
src/parser/security.test.js > applySecurity() > should throw an error if all security blocks fail: src/parser/security.test.js#L300
Error: Snapshot `applySecurity() > should throw an error if all security blocks fail 1` mismatched - Expected + Received [ { "ok": false, "schemes": { "ApiKey": { - "error": [Error: ApiKey error], - "ok": false, - }, - }, - }, - { - "ok": false, - "schemes": { - "OAuth2": { - "error": [Error: OAuth2 error], + "error": [FastifyError: Security handler has thrown an error], "ok": false, }, }, }, ] ❯ src/parser/security.test.js:300:34
tests
Process completed with exit code 1.
tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636