Skip to content

Commit

Permalink
fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
brindasasi committed May 22, 2024
1 parent 8b25203 commit 9594209
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/tests/Feature/PoolApplicationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public function testApplicationSubmitSkills(): void
'pool_id' => $newPool->id,
'pool_candidate_status' => PoolCandidateStatus::DRAFT->name,
]);
$educationExperience = WorkExperience::factory()->create(['user_id' => $newPoolCandidate->user_id]);
$educationExperience = EducationExperience::factory()->create(['user_id' => $newPoolCandidate->user_id]);
$newPoolCandidate->educationRequirementEducationExperiences()->sync([$educationExperience->id]);

// assert user cannot submit application with missing essential skills
Expand Down

0 comments on commit 9594209

Please sign in to comment.