add more controllers and fix tests
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user