Follow-up to controller-test-coverage-security-critical (openspec/changes/controller-test-coverage-security-critical). That change added controller-level PHPUnit coverage for ActionMatrixController, KeyAdminController, and AuditPackExportController (previously zero coverage). Three more controllers still have zero dedicated controller-level test files at HEAD:
lib/Controller/ExternalTrainingController.php
lib/Controller/PageController.php
lib/Controller/QtiImportController.php
Note: ExternalTrainingController gained tenant-scoping unit tests as part of fix-cross-tenant-idor-planid-lookups (issueCredential/learnerCoverage only) — bulkRecord() is still untested. Follow the same pattern used in tests/Unit/Controller/ActionMatrixControllerTest.php / KeyAdminControllerTest.php / AuditPackExportControllerTest.php (mock constructor deps via createMock(), exercise the controller method directly, assert response status + body shape).
Ref: openspec/changes/controller-test-coverage-security-critical/tasks.md#task-5
Gemigreerd van Codeberg — oorspronkelijk Conduction/scholiq#48, geopend door rubenvdlinde op 2026-07-07.
Follow-up to
controller-test-coverage-security-critical(openspec/changes/controller-test-coverage-security-critical). That change added controller-level PHPUnit coverage forActionMatrixController,KeyAdminController, andAuditPackExportController(previously zero coverage). Three more controllers still have zero dedicated controller-level test files at HEAD:lib/Controller/ExternalTrainingController.phplib/Controller/PageController.phplib/Controller/QtiImportController.phpNote:
ExternalTrainingControllergained tenant-scoping unit tests as part offix-cross-tenant-idor-planid-lookups(issueCredential/learnerCoverage only) — bulkRecord() is still untested. Follow the same pattern used intests/Unit/Controller/ActionMatrixControllerTest.php/KeyAdminControllerTest.php/AuditPackExportControllerTest.php(mock constructor deps viacreateMock(), exercise the controller method directly, assert response status + body shape).Ref: openspec/changes/controller-test-coverage-security-critical/tasks.md#task-5
Gemigreerd van Codeberg — oorspronkelijk Conduction/scholiq#48, geopend door
rubenvdlindeop 2026-07-07.