fix unittests issues
API CI/CD / Validate (composer + pint) (push) Successful in 3m6s
API CI/CD / Test (PHPUnit) (push) Failing after 4m53s
API CI/CD / Build frontend assets (push) Successful in 1m2s
API CI/CD / Security audit (push) Failing after 59s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

This commit is contained in:
root
2026-07-07 20:56:32 -04:00
parent f83f21936f
commit e13df69885
118 changed files with 22138 additions and 1328 deletions
+2 -2
View File
@@ -253,7 +253,7 @@ Route::prefix('v1')->group(function () {
Route::get('health', [HealthController::class, 'index']);
Route::get('system/db-check', [DatabaseHealthController::class, 'index']);
Route::middleware('auth:api')->prefix('preferences')->group(function () {
Route::middleware('multi.auth')->prefix('preferences')->group(function () {
Route::get('/', [PreferencesController::class, 'show']);
Route::post('/', [PreferencesController::class, 'store']);
Route::get('list', [PreferencesController::class, 'index']);
@@ -617,7 +617,7 @@ Route::prefix('v1')->group(function () {
Route::get('/class-assignment-data', [AssignmentApiController::class, 'classAssignmentData']);
});
Route::middleware(['multi.auth', 'school_year.editable'])->group(function () {
Route::middleware('multi.auth')->group(function () {
// Legacy alias: same handler as GET /api/v1/scores/homework
Route::get('teacher/homework-list', [HomeworkScoreController::class, 'index']);
// Legacy alias: teacher add-homework page and save action