Skip to content

Phase 2: auth tests and router registration - #4

Merged
HMZ-H merged 1 commit into
mainfrom
phase-2-tests
Sep 15, 2026
Merged

HMZ-H merged 1 commit into
mainfrom
phase-2-tests

Conversation

@HMZ-H

@HMZ-H HMZ-H commented Sep 15, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add async test fixtures (conftest.py) with SQLite + httpx AsyncClient
  • Add 8 auth endpoint tests covering register, login, and refresh flows
  • Register auth router in main.py
  • Fix Settings dependency injection via get_settings function

Test plan

  • All 8 auth tests pass
  • Register success, duplicate email, invalid email
  • Login success, wrong password, nonexistent user
  • Refresh token success, access token rejected

🤖 Generated with Claude Code

- Add conftest with async test fixtures (SQLite + httpx)
- Add 8 auth endpoint tests (register, login, refresh)
- Register auth router in main.py
- Fix Settings dependency injection via get_settings
@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: bc97220f-20e4-4b06-a58a-5a8251f6a6c1


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@HMZ-H
HMZ-H merged commit 93f532b into main Sep 15, 2026
2 of 4 checks passed
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.

1 participant