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
@@ -23,7 +23,7 @@ class FamilyAdminControllerTest extends TestCase
$this->seedFamilyGuardian($familyId, $user->id);
Sanctum::actingAs($user);
$response = $this->getJson('/api/v1/family-admin?student_id=' . $studentId);
$response = $this->getJson('/api/v1/family-admin?student_id='.$studentId);
$response->assertOk();
$response->assertJsonPath('status', true);
@@ -58,7 +58,7 @@ class FamilyAdminControllerTest extends TestCase
$this->seedPayment($user->id);
Sanctum::actingAs($user);
$response = $this->getJson('/api/v1/family-admin/card?family_id=' . $familyId);
$response = $this->getJson('/api/v1/family-admin/card?family_id='.$familyId);
$response->assertOk();
$response->assertJsonPath('status', true);
@@ -123,7 +123,7 @@ class FamilyAdminControllerTest extends TestCase
'firstname' => 'Parent',
'lastname' => 'User',
'cellphone' => '9999999999',
'email' => 'parent' . $id . '@example.com',
'email' => 'parent'.$id.'@example.com',
'address_street' => '123 Street',
'city' => 'City',
'state' => 'ST',
@@ -163,7 +163,7 @@ class FamilyAdminControllerTest 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(),