summaryrefslogtreecommitdiff
path: root/spec/factories/protected_branches/push_access_levels.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/protected_branches/push_access_levels.rb')
-rw-r--r--spec/factories/protected_branches/push_access_levels.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/factories/protected_branches/push_access_levels.rb b/spec/factories/protected_branches/push_access_levels.rb
index fa3a35fe282..b735bcdcc04 100644
--- a/spec/factories/protected_branches/push_access_levels.rb
+++ b/spec/factories/protected_branches/push_access_levels.rb
@@ -3,6 +3,7 @@
FactoryBot.define do
factory :protected_branch_push_access_level, class: 'ProtectedBranch::PushAccessLevel' do
protected_branch
+ deploy_key { nil }
access_level { Gitlab::Access::DEVELOPER }
end
end