Skip to content

Commit

Permalink
[CPDLP-3000] Create magic dates to create validated ECTs and mentors …
Browse files Browse the repository at this point in the history
…in the 2024 cohort
  • Loading branch information
leandroalemao committed Apr 30, 2024
1 parent 90e1b8b commit ca6fdb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ exactly what and how their test data is configured. These magic values are only
| 21/1/1900 | Participant matched and has a 2021 cohort induction start date |
| 22/1/1900 | Participant matched and has a 2022 cohort induction start date |
| 23/1/1900 | Participant matched and has a 2023 cohort induction start date |
| 24/1/1900 | Participant matched and has a 2024 cohort induction start date |

## Deployment infrastructure

Expand Down
6 changes: 6 additions & 0 deletions app/services/dqt_record_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,12 @@ def magic_results

# all matches 23 cohort start date - use 23/1/1900
23 => CheckResult.new(magic_dqt_record(induction_start_date: Date.new(2023, 9, 1)), true, true, true, true, 4),

# all matches 23 cohort start date - use 24/1/1900
24 => CheckResult.new(magic_dqt_record(induction_start_date: Date.new(2024, 9, 1)), true, true, true, true, 4),

# all matches 25 cohort start date - use 25/1/1900
25 => CheckResult.new(magic_dqt_record(induction_start_date: Date.new(2025, 9, 1)), true, true, true, true, 4),
}
end

Expand Down

0 comments on commit ca6fdb6

Please sign in to comment.