Skip to content

test: add tests for OIDCController#3008

Merged
Salazareo merged 2 commits intomainfrom
DS/2966
May 8, 2026
Merged

test: add tests for OIDCController#3008
Salazareo merged 2 commits intomainfrom
DS/2966

Conversation

@Salazareo
Copy link
Copy Markdown
Member

Covers the provider listing route, the auth-start redirect (404 / 400 / 500 / 302), all three callback flows (login / signup / revalidate) including state validation, suspended accounts, unconfirmed-email linking refusal, redirect_uri origin clamping, and the revalidate-done landing page. Routes are collected via PuterRouter and invoked with stubbed services that return prefab data.

Closes #2966

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 32.3%
⬆️ +1.33%
5677 / 17572
🔵 Statements 31.52%
⬆️ +1.30%
6009 / 19062
🔵 Functions 34.01%
⬆️ +1.27%
1016 / 2987
🔵 Branches 21.19%
⬆️ +1.34%
2973 / 14030
File CoverageNo changed files found.
Generated in workflow #57 for commit a6326e8 by the Vitest Coverage Report Action

Covers the provider listing route, the auth-start redirect (404 / 400 /
500 / 302), all three callback flows (login / signup / revalidate)
including state validation, suspended accounts, unconfirmed-email
linking refusal, redirect_uri origin clamping, and the
revalidate-done landing page. Routes are collected via PuterRouter and
invoked with stubbed services that return prefab data.

Closes #2966
@Salazareo Salazareo merged commit 160631b into main May 8, 2026
4 checks passed
@jelveh jelveh deleted the DS/2966 branch May 8, 2026 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tests] Add tests for OIDCController

1 participant