Skip to content

Commit

Permalink
Fix AddCourseButton test for no partnerships
Browse files Browse the repository at this point in the history
  • Loading branch information
inulty-dfe committed Dec 18, 2024
1 parent a64497e commit c17c612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/add_course_button.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def required_organisation_details_present?
def accredited_provider_present?
return true if accredited_provider?

provider.accredited_partners.any?
provider.accredited_providers.any?
end

def site_present?
Expand Down

0 comments on commit c17c612

Please sign in to comment.