Skip to content

Commit

Permalink
fix: erru case tasks have action date the same as case creation date …
Browse files Browse the repository at this point in the history
…VOL-5817 (#667)
  • Loading branch information
ilindsay authored Feb 24, 2025
1 parent 62ee53e commit 7bcf330
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ private function createTaskCmd(CaseEntity $case): CreateTaskCmd
'category' => CategoryEntity::CATEGORY_COMPLIANCE,
'subCategory' => CategoryEntity::TASK_SUB_CATEGORY_NR,
'description' => 'ERRU case has been automatically created',
'actionDate' => date('Y-m-d', strtotime('+7 days')),
'actionDate' => date('Y-m-d'),
'urgent' => 'Y',
'case' => $case->getId(),
'licence' => $case->getLicence()->getId(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public function testHandleCommand()
'category' => CategoryEntity::CATEGORY_COMPLIANCE,
'subCategory' => CategoryEntity::TASK_SUB_CATEGORY_NR,
'description' => 'ERRU case has been automatically created',
'actionDate' => date('Y-m-d', strtotime('+7 days')),
'actionDate' => date('Y-m-d'),
'urgent' => 'Y',
'case' => null,
'licence' => $licenceId,
Expand Down

0 comments on commit 7bcf330

Please sign in to comment.