liberu-real-estate / real-estate-laravel

Estate agency application written in Laravel 11 / PHP 8.3 using Filament 3
https://www.facebook.com/liberusoftware
23 stars 5 forks source link

Add Unit Tests for PropertyBooking Class #69

Closed sweep-ai[bot] closed 3 weeks ago

sweep-ai[bot] commented 3 months ago

PR Feedback (click)

The tests are located in a new file tests/Unit/PropertyBookingTest.php. Each public method in the PropertyBooking class has a corresponding test method in the test class. The tests cover both expected behaviors and edge cases, including validation rules, booking process, and handling of available dates for properties.

Summary of Changes

These changes ensure that the new business logic in the PropertyBooking class is robustly tested, enhancing the overall quality of the application.

sweep-ai[bot] commented 3 months ago

Rollback Files For Sweep