diff options
Diffstat (limited to 'spec/factories/go_module_commits.rb')
-rw-r--r-- | spec/factories/go_module_commits.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/factories/go_module_commits.rb b/spec/factories/go_module_commits.rb index 514a5559344..4f86d38954c 100644 --- a/spec/factories/go_module_commits.rb +++ b/spec/factories/go_module_commits.rb @@ -17,7 +17,7 @@ FactoryBot.define do service do Files::MultiService.new( project, - project.owner, + project.first_owner, commit_message: message, start_branch: project.repository.root_ref || 'master', branch_name: project.repository.root_ref || 'master', @@ -38,7 +38,7 @@ FactoryBot.define do commit = project.repository.commit_by(oid: r[:result]) if tag - r = Tags::CreateService.new(project, project.owner).execute(tag, commit.sha, tag_message) + r = Tags::CreateService.new(project, project.first_owner).execute(tag, commit.sha, tag_message) raise "operation failed: #{r}" unless r[:status] == :success end |