fix gitlab tests
This commit is contained in:
@@ -16,7 +16,7 @@ class FamilyMutationServiceTest extends TestCase
|
||||
$this->seedUser(1);
|
||||
$this->seedStudent(10, 1);
|
||||
|
||||
$service = new FamilyMutationService;
|
||||
$service = new FamilyMutationService();
|
||||
$result = $service->bootstrapFamilies();
|
||||
|
||||
$this->assertSame(1, $result['families_created']);
|
||||
@@ -36,7 +36,7 @@ class FamilyMutationServiceTest extends TestCase
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
|
||||
$service = new FamilyMutationService;
|
||||
$service = new FamilyMutationService();
|
||||
$result = $service->attachSecondByEmail(10, 'secondary@example.com', 'Second', 'Parent');
|
||||
|
||||
$this->assertTrue($result['ok']);
|
||||
@@ -63,7 +63,7 @@ class FamilyMutationServiceTest extends TestCase
|
||||
'updated_at' => now(),
|
||||
]);
|
||||
|
||||
$service = new FamilyMutationService;
|
||||
$service = new FamilyMutationService();
|
||||
$service->setPrimaryHome($familyId, 10, true);
|
||||
|
||||
$this->assertDatabaseHas('family_students', [
|
||||
@@ -80,7 +80,7 @@ class FamilyMutationServiceTest 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',
|
||||
|
||||
Reference in New Issue
Block a user