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
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:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user