Commit f5e99f17 authored by Igor Drozdov's avatar Igor Drozdov

Fix 2.7 warnings for factories/licenses.rb

parent e049419a
......@@ -51,9 +51,8 @@ FactoryBot.define do
attrs = [:gitlab_license]
attrs << :trial if trial
attrs << :expired if expired
attrs << { plan: plan }
build(*attrs).export
build(*attrs, plan: plan).export
end
# 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