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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix tests
Klaus Zandersd8c23a137b68
diff --git a/spec/constants/settings/definition_spec.rb b/spec/constants/settings/definition_spec.rbindex d43f4499b7b..e66d4b0fd13 100644--- a/spec/constants/settings/definition_spec.rb+++ b/spec/constants/settings/definition_spec.rb@@ -350,8 +350,11 @@ RSpec.describe Settings::Definition, :settings_reset do)# override from env manually because these settings are added by plugin itselfdescribed_class.send(:override_value, all[:plugin_openproject_two_factor_authentication])- expect(all[:plugin_openproject_two_factor_authentication].value).to eq('active_strategies' => [:totp],- 'enforced' => true, 'allow_remember_for_days' => 15)+ expect(all[:plugin_openproject_two_factor_authentication].value).to eq(+ 'active_strategies' => %i[totp webauthn],+ 'enforced' => true,+ 'allow_remember_for_days' => 15+ )endit 'allows overriding settings hash from ENV with aliased env name' do@@ -364,7 +367,7 @@ RSpec.describe Settings::Definition, :settings_reset do# override from env manually because these settings are added by plugin itselfdescribed_class.send(:override_value, all[:plugin_openproject_two_factor_authentication])expect(all[:plugin_openproject_two_factor_authentication].value)- .to eq({ 'active_strategies' => [:totp], 'enforced' => true, 'allow_remember_for_days' => 15 })+ .to eq({ 'active_strategies' => %i[totp webauthn], 'enforced' => true, 'allow_remember_for_days' => 15 })endend