Files
alrahma_sunday_school_api/tests/Feature/Api
root f3f13f5d01
API CI/CD / Validate (composer + pint) (push) Successful in 2m13s
API CI/CD / Test (PHPUnit) (push) Failing after 2m29s
API CI/CD / Build frontend assets (push) Successful in 2m22s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been cancelled
API CI/CD / Security audit (push) Has been cancelled
fix: bind AttendanceMailerService mock in setUp to prevent controller resolution failure
The previous approach of only mocking AttendanceTrackingService in
individual tests was not sufficient. The controller is resolved during
route middleware gathering (controllerMiddleware), which happens before
the test method body executes. By binding the AttendanceMailerService
interface to a mock in setUp, the full dependency chain is satisfied
regardless of whether the service-level mock is used.
2026-06-22 02:15:59 -04:00
..
2026-06-08 02:08:04 -04:00
2026-06-11 11:46:12 -04:00
2026-06-11 11:46:12 -04:00
2026-06-11 11:46:12 -04:00
2026-06-11 11:46:12 -04:00
2026-06-11 11:46:12 -04:00
2026-06-11 11:46:12 -04:00