From a7be1017bb0f1ff1075355a798ad9348e0c560e2 Mon Sep 17 00:00:00 2001 From: rigonlucas Date: Thu, 29 Aug 2024 23:17:02 -0300 Subject: [PATCH] tests fix --- .../Integration/UseCases/Project/UpdateProjectUseCaseTest.php | 2 +- tests/Integration/e2e/Project/UpdateProjectE2eTest.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/Integration/UseCases/Project/UpdateProjectUseCaseTest.php b/tests/Integration/UseCases/Project/UpdateProjectUseCaseTest.php index cb7bf13..e5a378b 100644 --- a/tests/Integration/UseCases/Project/UpdateProjectUseCaseTest.php +++ b/tests/Integration/UseCases/Project/UpdateProjectUseCaseTest.php @@ -72,7 +72,7 @@ public function test_create_project_success_with_dates() description: 'Desc', startAt: now(), finishAt: now()->addYears(), - status: StatusProjectEnum::PENDING + status: StatusProjectEnum::ON_HOLD ); $projectEntity = $this->useCase->execute( createProjectInput: $input, diff --git a/tests/Integration/e2e/Project/UpdateProjectE2eTest.php b/tests/Integration/e2e/Project/UpdateProjectE2eTest.php index 83e904a..c080a77 100644 --- a/tests/Integration/e2e/Project/UpdateProjectE2eTest.php +++ b/tests/Integration/e2e/Project/UpdateProjectE2eTest.php @@ -29,7 +29,7 @@ public function test_create_project_success_without_dates() [ 'name' => 'Project Name', 'description' => 'Project Description', - 'status' => StatusProjectEnum::IN_PROGRESS->value, + 'status' => StatusProjectEnum::ON_HOLD->value, 'start_at' => now()->addDay()->format('Y-m-d'), 'finish_at' => now()->addMonths(2)->format('Y-m-d'), ] @@ -46,7 +46,7 @@ public function test_create_project_success_without_dates() 'description' => 'Project Description', 'start_at' => now()->addDay()->startOfDay()->format('Y-m-d H:i:s'), 'finish_at' => now()->addMonths(2)->startOfDay()->format('Y-m-d H:i:s'), - 'status' => StatusProjectEnum::IN_PROGRESS->value, + 'status' => StatusProjectEnum::ON_HOLD->value, ]); }