fix tests
This commit is contained in:
@@ -22,7 +22,7 @@ class TeacherControllerTest extends TestCase
|
||||
$this->seedStudent($teacher->id, $classSectionId);
|
||||
|
||||
Sanctum::actingAs($teacher);
|
||||
$response = $this->getJson('/api/v1/teachers/classes?class_section_id=' . $classSectionId);
|
||||
$response = $this->getJson('/api/v1/teachers/classes?class_section_id='.$classSectionId);
|
||||
|
||||
$response->assertOk();
|
||||
$response->assertJson(['ok' => true]);
|
||||
|
||||
Reference in New Issue
Block a user