Commit Graph

10 Commits

Author SHA1 Message Date
root 1f72d082ac fix: update badge unit tests to match service constructor changes
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
- 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
root 5ead80fdc7 fix tests 2026-06-11 11:46:12 -04:00
root 6def9993da fix gitlab tests 2026-06-09 02:32:58 -04:00
root 20a0b6c4e5 Fix Pint formatting 2026-06-09 01:25:14 -04:00
root 6be4875c5e add tests batch 20 2026-06-09 01:03:53 -04:00
root b5fd4a4ca1 Fix Laravel Pint formatting 2026-06-09 00:03:03 -04:00
root 8d4d610b82 add test batches 2026-06-08 23:45:55 -04:00
root c792b8be05 Fix Laravel Pint formatting 2026-06-08 23:30:22 -04:00
root 79e44fe037 fix logic and tests, update docker CI file 2026-03-09 16:03:16 -04:00
root c8de5f7edc reconstruction of the project 2026-03-08 16:33:24 -04:00