db/test_seeders/record_builder.rb
def subject
    [
      EarlyCareerPayments::DqtRecord::ELIGIBLE_JAC_CODES[:mathematics],
      EarlyCareerPayments::DqtRecord::ELIGIBLE_HECOS_CODES[:mathematics]
    ].flatten.sample
  end
# As payroll testing is for 2021/2022 AY,
# have used :mathematics as the key
# as this was the valid cohort for ECP
As payroll testing is for 2021/2022 AY,
have used :mathematics as the key
as this was the valid cohort for ECP
As payroll testing is for 2021 / 2022 AY have used : mathematics as the key as this was the valid cohort for ECP
def subject
    [
      EarlyCareerPayments::DqtRecord::ELIGIBLE_JAC_CODES[:mathematics],
      EarlyCareerPayments::DqtRecord::ELIGIBLE_HECOS_CODES[:mathematics]
    ].flatten.sample
  end
def subject [ EarlyCareerPayments :: DqtRecord :: ELIGIBLE_JAC_CODES [ :mathematics ] , EarlyCareerPayments :: DqtRecord :: ELIGIBLE_HECOS_CODES [ :mathematics ] ] . flatten . sample end
As payroll testing is for 2021/2022 AY,
have used :mathematics as the key
as this was the valid cohort for ECP
As payroll testing is for 2021 / 2022 AY have used : mathematics as the key as this was the valid cohort for ECP