fix unit tests as well as missing code
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m23s
API CI/CD / Build frontend assets (push) Successful in 2m18s
API CI/CD / Security audit (push) Successful in 31s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m23s
API CI/CD / Build frontend assets (push) Successful in 2m18s
API CI/CD / Security audit (push) Successful in 31s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -36,6 +36,7 @@ class LateSlipLogsControllerTest extends TestCase
|
||||
'grade' => '3',
|
||||
'reason' => 'Traffic',
|
||||
'admin_name' => 'Admin User',
|
||||
'printed_at' => now(),
|
||||
]);
|
||||
|
||||
$response = $this->getJson('/api/v1/attendance/late-slip-logs?school_year=2025-2026');
|
||||
@@ -59,6 +60,7 @@ class LateSlipLogsControllerTest extends TestCase
|
||||
'grade' => '2',
|
||||
'reason' => 'Bus delay',
|
||||
'admin_name' => 'Admin User',
|
||||
'printed_at' => now(),
|
||||
]);
|
||||
|
||||
$response = $this->getJson('/api/v1/attendance/late-slip-logs/1');
|
||||
@@ -81,6 +83,7 @@ class LateSlipLogsControllerTest extends TestCase
|
||||
'grade' => '1',
|
||||
'reason' => 'Weather',
|
||||
'admin_name' => 'Admin User',
|
||||
'printed_at' => now(),
|
||||
]);
|
||||
|
||||
$response = $this->deleteJson('/api/v1/attendance/late-slip-logs/1');
|
||||
|
||||
Reference in New Issue
Block a user