Skip to content

test: add tests for OIDCController - #3008

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

test: add tests for OIDCController#3008
Salazareo merged 2 commits into
mainfrom
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

github-actions Bot commented May 8, 2026

Copy link
Copy Markdown
Contributor

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
junphine pushed a commit to junphine/puter that referenced this pull request May 21, 2026
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 HeyPuter#2966
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