Skip to content

Commit

Permalink
tests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rigonlucas committed Aug 30, 2024
1 parent 24263b5 commit a7be101
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions tests/Integration/e2e/Project/UpdateProjectE2eTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
]
Expand All @@ -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,
]);
}

Expand Down

0 comments on commit a7be101

Please sign in to comment.