Commit 73c43e5b authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'sh-fix-packages-fixtures' into 'master'

Ensure NPM dev fixtures have unique name

Closes #213786

See merge request gitlab-org/gitlab!29100
parents cbde7f72 028990cb
# frozen_string_literal: true
class Gitlab::Seeder::Packages
attr_reader :project
......@@ -12,7 +13,7 @@ class Gitlab::Seeder::Packages
def seed_npm_packages
5.times do |i|
name = "@#{@project.root_namespace.path}/npm_package_#{i}"
name = "@#{@project.root_namespace.path}/npm_package_#{SecureRandom.hex}"
version = "1.12.#{i}"
params = JSON.parse(
......
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