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 more tests

Klaus Zandersba7c25650bf0
diff --git a/modules/two_factor_authentication/spec/controllers/two_factor_authentication/authentication_controller_spec.rb b/modules/two_factor_authentication/spec/controllers/two_factor_authentication/authentication_controller_spec.rb
index 87229cd231f..a8233f4c85d 100644
--- a/modules/two_factor_authentication/spec/controllers/two_factor_authentication/authentication_controller_spec.rb
+++ b/modules/two_factor_authentication/spec/controllers/two_factor_authentication/authentication_controller_spec.rb
@@ -63,7 +63,7 @@ RSpec.describe TwoFactorAuthentication::AuthenticationController, with_settings:
end
context 'with a non-default device' do
- let!(:device) { create(:two_factor_authentication_device_sms, user:, make_default: false, channel: :sms) }
+ let!(:device) { create(:two_factor_authentication_device_sms, user:, default: false, channel: :sms) }
before do
session[:authenticated_user_id] = user.id