fix tests

This commit is contained in:
root
2026-06-11 11:46:12 -04:00
parent c91fa2ce4d
commit 5ead80fdc7
1489 changed files with 11349 additions and 10305 deletions
@@ -20,7 +20,7 @@ class FamilyControllerTest extends TestCase
$this->seedFamilyStudent($familyId, $studentId);
Sanctum::actingAs($user);
$response = $this->getJson('/api/v1/families/by-student/' . $studentId);
$response = $this->getJson('/api/v1/families/by-student/'.$studentId);
$response->assertOk();
$response->assertJsonPath('status', true);
@@ -34,7 +34,7 @@ class FamilyControllerTest extends TestCase
$this->seedFamilyGuardian($familyId, $user->id);
Sanctum::actingAs($user);
$response = $this->getJson('/api/v1/families/' . $familyId . '/guardians');
$response = $this->getJson('/api/v1/families/'.$familyId.'/guardians');
$response->assertOk();
$response->assertJsonPath('status', true);
@@ -292,7 +292,7 @@ class FamilyControllerTest extends TestCase
{
return DB::table('families')->insertGetId([
'family_code' => $code,
'household_name' => 'Family ' . $code,
'household_name' => 'Family '.$code,
'is_active' => 1,
'created_at' => now(),
'updated_at' => now(),