Skip to content

Commit deb0bfb

Browse files
authored
Merge pull request #5562 from nhsuk/train-with-all-programmes
Onboard training teams with all programmes
2 parents 6abb8b4 + 5228233 commit deb0bfb

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

app/lib/training_onboarding_configuration.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ def team
4545
}
4646
end
4747

48-
def programmes
49-
%w[flu hpv menacwy td_ipv]
50-
end
48+
def programmes = Programme.all.map(&:type)
5149

5250
def subteams
5351
{ generic: { name:, email:, phone: } }

spec/lib/training_onboarding_configuration_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
workgroup: "abc",
2929
type: "poc_only"
3030
},
31-
programmes: %w[flu hpv menacwy td_ipv],
31+
programmes: %w[flu hpv menacwy mmr td_ipv],
3232
subteams: {
3333
generic: {
3434
email: "abc@example.com",

0 commit comments

Comments
 (0)