Files
alrahma_sunday_school_api/tests
root 1f72d082ac
API CI/CD / Validate (composer + pint) (push) Successful in 2m6s
API CI/CD / Test (PHPUnit) (push) Failing after 2m29s
API CI/CD / Build frontend assets (push) Successful in 2m24s
API CI/CD / Security audit (push) Successful in 33s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
fix: update badge unit tests to match service constructor changes
- BadgeFormDataServiceTest: add missing BadgeStudentLookupService mock,
  update build() signature with  param, fix default
  role assertion (teacher → all)
- BadgePdfServiceTest: add missing BadgeStudentLookupService mock as
  first constructor arg, update generate() calls with studentIds:,
  fix filename assertion (Staff_Badges.pdf → Badges.pdf)

These constructors were refactored to accept a new
BadgeStudentLookupService dependency and reordered parameters,
but the unit tests were never updated, causing TypeError failures.
2026-06-23 01:13:30 -04:00
..
2026-06-11 11:46:12 -04:00
2026-06-23 00:39:26 -04:00
2026-06-08 02:08:04 -04:00
2026-04-23 00:04:35 -04:00