Commit 43c4b404 authored by Peter Leitzen's avatar Peter Leitzen

Fix cop FactoryBot/InlineAssociation for groups

parent 9e372d91
...@@ -2,7 +2,6 @@ FactoryBot/InlineAssociation: ...@@ -2,7 +2,6 @@ FactoryBot/InlineAssociation:
Exclude: Exclude:
- 'ee/spec/factories/analytics/cycle_analytics/group_stages.rb' - 'ee/spec/factories/analytics/cycle_analytics/group_stages.rb'
- 'ee/spec/factories/geo/event_log.rb' - 'ee/spec/factories/geo/event_log.rb'
- 'ee/spec/factories/groups.rb'
- 'ee/spec/factories/merge_request_blocks.rb' - 'ee/spec/factories/merge_request_blocks.rb'
- 'ee/spec/factories/vulnerabilities/feedback.rb' - 'ee/spec/factories/vulnerabilities/feedback.rb'
- 'spec/factories/atlassian_identities.rb' - 'spec/factories/atlassian_identities.rb'
......
...@@ -50,7 +50,7 @@ FactoryBot.define do ...@@ -50,7 +50,7 @@ FactoryBot.define do
factory :group_with_deletion_schedule, parent: :group do factory :group_with_deletion_schedule, parent: :group do
transient do transient do
deleting_user { create(:user) } deleting_user { association(:user) }
marked_for_deletion_on { nil } marked_for_deletion_on { nil }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment