Commit e59fa655 authored by Stan Hu's avatar Stan Hu

Merge branch 'id-fix-warnings-for-licenses' into 'master'

Fix 2.7 warnings for factories/licenses.rb

See merge request gitlab-org/gitlab!50876
parents e94c009e f5e99f17
...@@ -51,9 +51,8 @@ FactoryBot.define do ...@@ -51,9 +51,8 @@ FactoryBot.define do
attrs = [:gitlab_license] attrs = [:gitlab_license]
attrs << :trial if trial attrs << :trial if trial
attrs << :expired if expired attrs << :expired if expired
attrs << { plan: plan }
build(*attrs).export build(*attrs, plan: plan).export
end end
# Disable validations when creating an expired license key # Disable validations when creating an expired license key
......
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