Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: Add integration tests for local login #68

Merged
merged 1 commit into from
Jul 20, 2024
Merged

test: Add integration tests for local login #68

merged 1 commit into from
Jul 20, 2024

Conversation

meyfa
Copy link
Member

@meyfa meyfa commented Jul 20, 2024

This patch tests the strategies, me, local login, and logout routes with our integration test suite. While adding these tests, some non-optimal server responses were discovered (such as returning errors as text instead of JSON, and using SameSite=Lax cookies instead of Strict), but these are completely non-critical and are annotated with TODO for now, to be fixed in a follow-up code change.

Additional Context

N/A

Checklist

  • The pull request title meets the Conventional Commits specification and optionally includes the scope, for example: feat: Add social login

This patch tests the strategies, me, local login, and logout routes with
our integration test suite. While adding these tests, some non-optimal
server responses were discovered (such as returning errors as text
instead of JSON, and using SameSite=Lax cookies instead of Strict),
but these are completely non-critical and are annotated with TODO
for now, to be fixed in a follow-up code change.
@meyfa meyfa requested a review from a team as a code owner July 20, 2024 14:52
@lusu007 lusu007 merged commit 855c0a9 into main Jul 20, 2024
4 checks passed
@lusu007 lusu007 deleted the test/login branch July 20, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants