Skip to content

Conversation

@jordanpartridge
Copy link
Contributor

Summary

Add tests for uncovered milestone validation paths to achieve 100% code coverage.

Changes

Added tests in ValidatesInputTest.php for:

  • Non-string state parameter (line 249)
  • Non-string due_on parameter (line 266)
  • Empty string due_on parameter (line 272)

Coverage: 99.5% → 100%

Add tests for uncovered milestone validation paths:
- Non-string state parameter
- Non-string due_on parameter
- Empty string due_on parameter
@coderabbitai
Copy link

coderabbitai bot commented Dec 14, 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 15 minutes and 6 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 6dea130 and 571d95b.

📒 Files selected for processing (1)
  • tests/Unit/Traits/ValidatesInputTest.php (2 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 fix/milestone-validation-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 aa636e5 into master Dec 14, 2025
2 checks passed
@github-actions github-actions bot deleted the fix/milestone-validation-coverage branch December 14, 2025 08:16
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.

2 participants