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
Revert factory changes
Klaus Zanders749c25ceb7c9
diff --git a/modules/two_factor_authentication/spec/factories/two_factor_authentication_device_factory.rb b/modules/two_factor_authentication/spec/factories/two_factor_authentication_device_factory.rbindex 33c211ce6b8..50ff998750b 100644--- a/modules/two_factor_authentication/spec/factories/two_factor_authentication_device_factory.rb+++ b/modules/two_factor_authentication/spec/factories/two_factor_authentication_device_factory.rb@@ -3,11 +3,12 @@ FactoryBot.define douserchannel { :sms }active { true }+ default { true }phone_number { '+49 123456789' }identifier { 'Phone number (+49 123456789)' }transient do- make_default { true }+ make_default { false }endcallback(:after_create) do |device, evaluator|@@ -19,10 +20,11 @@ FactoryBot.define douserchannel { :totp }active { true }+ default { true }identifier { 'TOTP device' }transient do- make_default { true }+ make_default { false }endcallback(:after_create) do |device, evaluator|@@ -34,13 +36,14 @@ FactoryBot.define douserchannel { :webauthn }active { true }+ default { true }identifier { 'WebAuthn device' }webauthn_external_id { "foo" }webauthn_public_key { "bar" }transient do- make_default { true }+ make_default { false }endcallback(:after_create) do |device, evaluator|