summaryrefslogtreecommitdiff
path: root/spec/requests/api/pypi_packages_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-25 00:11:06 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-25 00:11:06 +0000
commit9b124bc39e0902fffd4285d077c70edbfbce3b36 (patch)
tree5c8bdf0ae3305ce49c1bad5aa2ed29a93672065d /spec/requests/api/pypi_packages_spec.rb
parent8a0ba602908b4360f52bf64fb715585d6245079e (diff)
downloadgitlab-ce-9b124bc39e0902fffd4285d077c70edbfbce3b36.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests/api/pypi_packages_spec.rb')
-rw-r--r--spec/requests/api/pypi_packages_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/pypi_packages_spec.rb b/spec/requests/api/pypi_packages_spec.rb
index 8df2460a2b6..c17d0600aca 100644
--- a/spec/requests/api/pypi_packages_spec.rb
+++ b/spec/requests/api/pypi_packages_spec.rb
@@ -13,7 +13,7 @@ RSpec.describe API::PypiPackages do
let_it_be(:personal_access_token) { create(:personal_access_token, user: user) }
let_it_be(:deploy_token) { create(:deploy_token, read_package_registry: true, write_package_registry: true) }
let_it_be(:project_deploy_token) { create(:project_deploy_token, deploy_token: deploy_token, project: project) }
- let_it_be(:job) { create(:ci_build, :running, user: user) }
+ let_it_be(:job) { create(:ci_build, :running, user: user, project: project) }
let(:headers) { {} }