Skip to content

Add User model with authentication support#2

Merged
github-actions[bot] merged 1 commit intomasterfrom
feature/user-model-coverage
Dec 15, 2025
Merged

Add User model with authentication support#2
github-actions[bot] merged 1 commit intomasterfrom
feature/user-model-coverage

Conversation

@jordanpartridge
Copy link
Contributor

Summary

  • Adds User model extending Authenticatable for API auth support
  • Includes factory with unverified() state
  • Migration creates users table with standard auth fields
  • 100% test coverage

Test Plan

  • User can be created with factory
  • Password and remember_token hidden in serialization
  • email_verified_at casted to datetime
  • Password automatically hashed
  • unverified() state works

@coderabbitai
Copy link

coderabbitai bot commented Dec 15, 2025

Warning

Rate limit exceeded

@jordanpartridge has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 17 minutes and 35 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 15f1ff1 and f0feee7.

📒 Files selected for processing (4)
  • app/Models/User.php (1 hunks)
  • database/factories/UserFactory.php (1 hunks)
  • database/migrations/2025_12_15_043947_create_users_table.php (1 hunks)
  • tests/Feature/UserTest.php (1 hunks)
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/user-model-coverage

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 and usage tips.

@github-actions github-actions bot merged commit 0ebabc6 into master Dec 15, 2025
1 check passed
@github-actions github-actions bot deleted the feature/user-model-coverage branch December 15, 2025 04:41
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