Skip to content

Commit

Permalink
[1675] Make tests pass
Browse files Browse the repository at this point in the history
TDA is for the 2025 recruitment cycle
  • Loading branch information
avinhurry committed May 21, 2024
1 parent 74bdde5 commit e42af0e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/features/publish/courses/new_tda_course_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ def given_i_am_authenticated_as_a_school_direct_provider_user
recruitment_cycle = create(:recruitment_cycle, year: 2025)
@user = create(:user, providers: [build(:provider, recruitment_cycle:, provider_type: 'lead_school', sites: [build(:site), build(:site)], study_sites: [build(:site, :study_site), build(:site, :study_site)])])
@provider = @user.providers.first
@accredited_provider = create(:provider, :accredited_provider, recruitment_cycle:)
create(:provider, :accredited_provider, provider_code: '1BJ')
@accredited_provider = create(:provider, :accredited_provider, provider_code: '1BJ', recruitment_cycle:)
@provider.accrediting_provider_enrichments = []
@provider.accrediting_provider_enrichments << AccreditingProviderEnrichment.new(
{
Expand All @@ -158,7 +159,7 @@ def given_i_am_authenticated_as_a_scitt_provider_user
@user = create(
:user,
providers: [
create(:provider, :scitt, recruitment_cycle: build(:recruitment_cycle, year: 2025), sites: [build(:site), build(:site)], study_sites: [build(:site, :study_site), build(:site, :study_site)])
create(:provider, :scitt, recruitment_cycle: create(:recruitment_cycle, year: 2025), sites: [build(:site), build(:site)], study_sites: [build(:site, :study_site), build(:site, :study_site)])
]
)
given_i_am_authenticated(
Expand Down

0 comments on commit e42af0e

Please sign in to comment.