diff options
Diffstat (limited to 'db/fixtures/development/26_packages.rb')
-rw-r--r-- | db/fixtures/development/26_packages.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/db/fixtures/development/26_packages.rb b/db/fixtures/development/26_packages.rb index 6096fd8962a..2a7f80c18a3 100644 --- a/db/fixtures/development/26_packages.rb +++ b/db/fixtures/development/26_packages.rb @@ -21,7 +21,7 @@ class Gitlab::Seeder::Packages .gsub('1.0.1', version)) .with_indifferent_access - ::Packages::Npm::CreatePackageService.new(project, project.owner, params).execute + ::Packages::Npm::CreatePackageService.new(project, project.creator, params).execute print '.' end @@ -38,7 +38,7 @@ class Gitlab::Seeder::Packages path: "#{name}/#{version}" } - pkg = ::Packages::Maven::CreatePackageService.new(project, project.owner, params).execute + pkg = ::Packages::Maven::CreatePackageService.new(project, project.creator, params).execute %w(maven-metadata.xml my-app-1.0-20180724.124855-1.pom my-app-1.0-20180724.124855-1.jar).each do |filename| with_cloned_fixture_file('maven', filename) do |filepath| @@ -68,7 +68,7 @@ class Gitlab::Seeder::Packages package_channel: 'stable' } - pkg = ::Packages::Conan::CreatePackageService.new(project, project.owner, params).execute + pkg = ::Packages::Conan::CreatePackageService.new(project, project.creator, params).execute fixtures = { 'recipe_files' => %w(conanfile.py conanmanifest.txt), @@ -103,7 +103,7 @@ class Gitlab::Seeder::Packages name = "MyNugetApp.Package#{i}" version = "4.2.#{i}" - pkg = ::Packages::Nuget::CreatePackageService.new(project, project.owner, {}).execute + pkg = ::Packages::Nuget::CreatePackageService.new(project, project.creator, {}).execute # when using ::Packages::Nuget::CreatePackageService, packages have a fixed name and a fixed version. pkg.update!(name: name, version: version) |