Skip to content
This repository was archived by the owner on Nov 23, 2025. It is now read-only.

Dev#12

Merged
RandithaK merged 27 commits intomainfrom
dev
Nov 23, 2025
Merged

Dev#12
RandithaK merged 27 commits intomainfrom
dev

Conversation

@RandithaK
Copy link
Copy Markdown
Member

No description provided.

RandithaK and others added 26 commits November 15, 2025 13:52
…nt Vehicle service tests

- Created VehiclePhotoEntityTest to validate the VehiclePhoto entity behavior including creation, ID generation, and equality checks.
- Developed VehiclePhotoRepositoryTest to ensure correct functionality of repository methods such as finding by vehicle ID, deleting by vehicle ID, and saving entities.
- Implemented VehicleRepositoryTest to test vehicle retrieval by customer ID, VIN uniqueness, and deletion logic.
- Added VehicleServiceImplTest to cover vehicle registration, retrieval, update, and deletion scenarios, including handling of exceptions for unauthorized access and duplicate VINs.
… assertions; skip timestamp checks in VehiclePhotoRepositoryTest and VehicleRepositoryTest
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Nov 23, 2025

Warning

Rate limit exceeded

@RandithaK has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 25 minutes and 37 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 dfca8e8 and 11343d1.

📒 Files selected for processing (9)
  • vehicle-service/src/main/java/com/techtorque/vehicle_service/entity/Vehicle.java (1 hunks)
  • vehicle-service/src/test/java/com/techtorque/vehicle_service/controller/VehicleControllerTest.java (1 hunks)
  • vehicle-service/src/test/java/com/techtorque/vehicle_service/dto/VehicleRequestDtoTest.java (1 hunks)
  • vehicle-service/src/test/java/com/techtorque/vehicle_service/dto/VehicleUpdateDtoTest.java (1 hunks)
  • vehicle-service/src/test/java/com/techtorque/vehicle_service/entity/VehicleEntityTest.java (1 hunks)
  • vehicle-service/src/test/java/com/techtorque/vehicle_service/entity/VehiclePhotoTest.java (1 hunks)
  • vehicle-service/src/test/java/com/techtorque/vehicle_service/repository/VehiclePhotoRepositoryTest.java (1 hunks)
  • vehicle-service/src/test/java/com/techtorque/vehicle_service/repository/VehicleRepositoryTest.java (1 hunks)
  • vehicle-service/src/test/java/com/techtorque/vehicle_service/service/VehicleServiceTest.java (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 dev

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.

@RandithaK RandithaK merged commit 1ba9ad7 into main Nov 23, 2025
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants