Skip to content

Commit

Permalink
fix future date for valid_service_info_for_bdd
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenjcumming committed Dec 20, 2024
1 parent 2913119 commit 4476c43
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -471,14 +471,16 @@ def current_error_array
end

describe 'validation for BDD_PROGRAM claim' do
future_date = "#{Time.current.year + 1}-12-20"

let(:valid_service_info_for_bdd) do
{
'servicePeriods' => [
{
'serviceBranch' => 'Air Force Reserves',
'serviceComponent' => 'Reserves',
'activeDutyBeginDate' => '2015-11-14',
'activeDutyEndDate' => '2024-12-20'
'activeDutyEndDate' => future_date
}
],
'reservesNationalGuardService' => {
Expand All @@ -497,7 +499,7 @@ def current_error_array
},
'federalActivation' => {
'activationDate' => '2023-10-01',
'anticipatedSeparationDate' => '2024-12-20'
'anticipatedSeparationDate' => future_date
}
}
end
Expand Down

0 comments on commit 4476c43

Please sign in to comment.