oportunidades 4
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-10 07:03:59 +02:00
parent e662230df7
commit 6ddafc95ba
179 changed files with 22750 additions and 933 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ class EducationTest extends TestCase
'reviewed_by' => $reviewer->id, 'status' => 'reviewed', 'review_reason' => 'Evidência sintética revista.',
'period_start' => now()->toDateString(), 'period_end' => $data['period_start']]);
$url = '/management/education/demands/'.$demand->id.'/analysis';
$this->get($url)->assertInertia(fn (AssertableInertia $page) => $page->where('eligible', false)->has('candidates', 0));
$this->get($url)->assertOk()->assertInertia(fn (AssertableInertia $page) => $page->where('eligible', false)->has('candidates', 0));
$this->post('/management/education/demands/'.$demand->id.'/review', ['status' => 'reviewed', 'version_no' => 1,
'review_reason' => 'Revisão independente sintética.'])->assertSessionHasNoErrors();
$this->get($url)->assertInertia(fn (AssertableInertia $page) => $page->component('education/analysis')