PHPUnit 11.5.57 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.3.35
Configuration: C:\Users\USER\Dev\BitMed\phpunit.xml

............................F..............FF..................  63 / 616 ( 10%)
..........................F.................................... 126 / 616 ( 20%)
............................................................... 189 / 616 ( 30%)
............................................................... 252 / 616 ( 40%)
............................................................... 315 / 616 ( 51%)
............................................................... 378 / 616 ( 61%)
....F.......................................................... 441 / 616 ( 71%)
S.............................................................. 504 / 616 ( 81%)
............................................................... 567 / 616 ( 92%)
............................................F....               616 / 616 (100%)

Time: 24:30.262, Memory: 86.00 MB

There were 6 failures:

1) Tests\Feature\AppointmentBookingTest::test_clinician_double_booking_is_rejected
Failed asserting that exception of type "App\Domain\Patients\ConflictException" is thrown.

2) Tests\Feature\AppointmentBookingTest::test_http_booking_surfaces_conflicts_as_validation_errors
Session is missing expected key [errors].
Failed asserting that false is true.

C:\Users\USER\Dev\BitMed\vendor\laravel\framework\src\Illuminate\Testing\TestResponseAssert.php:45
C:\Users\USER\Dev\BitMed\vendor\laravel\framework\src\Illuminate\Testing\TestResponse.php:1547
C:\Users\USER\Dev\BitMed\vendor\laravel\framework\src\Illuminate\Testing\TestResponse.php:1634
C:\Users\USER\Dev\BitMed\tests\Feature\AppointmentBookingTest.php:362

3) Tests\Feature\AppointmentBookingTest::test_tenant_isolation_on_appointments
Failed asserting that 3 is identical to 0.

C:\Users\USER\Dev\BitMed\tests\Feature\AppointmentBookingTest.php:380

4) Tests\Feature\CalendarFoundationTest::test_a_different_tenant_cannot_view_another_tenants_calendar
Failed asserting that 403 is identical to 404.

C:\Users\USER\Dev\BitMed\tests\Feature\CalendarFoundationTest.php:144

5) Tests\Feature\PatientIndexTest::test_patient_pages_are_tenant_gated
Failed asserting that 200 is identical to 404.

C:\Users\USER\Dev\BitMed\tests\Feature\PatientIndexTest.php:400

6) Tests\Feature\WardAndPatientStatusTest::test_another_clinics_patient_is_not_editable
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'Foreign'
+'Bello'

C:\Users\USER\Dev\BitMed\tests\Feature\WardAndPatientStatusTest.php:286

FAILURES!
Tests: 616, Assertions: 2185, Failures: 6, Skipped: 1.
