Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

fix enterprise plan expectations

Ivan Kuchin75f213d528af
diff --git a/modules/openid_connect/spec/features/administration/oidc_custom_crud_spec.rb b/modules/openid_connect/spec/features/administration/oidc_custom_crud_spec.rb
index 185e50b02c3..e9ef354de5b 100644
--- a/modules/openid_connect/spec/features/administration/oidc_custom_crud_spec.rb
+++ b/modules/openid_connect/spec/features/administration/oidc_custom_crud_spec.rb
@@ -192,7 +192,7 @@ RSpec.describe "OIDC administration CRUD",
context "without EE", without_ee: %i[sso_auth_providers] do
it "renders the upsell page" do
visit "/admin/openid_connect/providers"
- expect(page).to have_enterprise_banner(:premium)
+ expect(page).to have_enterprise_banner(:professional)
end
end
end
diff --git a/modules/team_planner/spec/features/team_planner_upsell_spec.rb b/modules/team_planner/spec/features/team_planner_upsell_spec.rb
index c88b241a3bc..17c1fe6897c 100644
--- a/modules/team_planner/spec/features/team_planner_upsell_spec.rb
+++ b/modules/team_planner/spec/features/team_planner_upsell_spec.rb
@@ -43,18 +43,18 @@ RSpec.describe "Team planner index",
it "shows an upsell banner" do
visit team_planners_path
- expect(page).to have_enterprise_banner(:premium)
+ expect(page).to have_enterprise_banner(:basic)
visit project_team_planners_path(project)
- expect(page).to have_enterprise_banner(:premium)
+ expect(page).to have_enterprise_banner(:basic)
visit new_project_team_planners_path(project)
- expect(page).to have_enterprise_banner(:premium)
+ expect(page).to have_enterprise_banner(:basic)
visit project_team_planner_path(project, id: "new")
- expect(page).to have_enterprise_banner(:premium)
+ expect(page).to have_enterprise_banner(:basic)
end
end