add more controllers and fix tests

This commit is contained in:
root
2026-03-09 11:54:13 -04:00
parent 0c3e9b16f7
commit 1cb3573d4b
74 changed files with 2761 additions and 2728 deletions
@@ -116,7 +116,10 @@ class UserControllerTest extends TestCase
'school_year' => '2025-2026',
]);
$response = $this->getJson('/api/v1/users/login-activity?per_page=1&page=2');
$response = $this->json('GET', '/api/v1/users/login-activity', [
'per_page' => 1,
'page' => 2,
]);
$response->assertOk();
$response->assertJson(['ok' => true]);