mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-07-23 00:47:51 +00:00
Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
@ -6,8 +6,7 @@ module QA
|
||||
# NOTE: this test requires a global server hook to be configured in the target test environment.
|
||||
# If running this test against a local GDK installation, please follow the instructions in the
|
||||
# following guide to set up the hook:
|
||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/doc/development/testing_guide/end_to_end/running_tests_that_require_special_setup.md#tests-that-require-a-global-server-hook
|
||||
|
||||
# https://gitlab.com/gitlab-org/gitlab/-/blob/2f5ba36bd2e043dfa71ce66a33b33137ec830657/doc/development/testing_guide/end_to_end/running_tests/running_tests_that_require_special_setup.md#tests-that-require-a-global-server-hook
|
||||
let(:project) { create(:project, :with_readme) }
|
||||
|
||||
context 'when creating a tag for a ref' do
|
||||
@ -15,7 +14,7 @@ module QA
|
||||
before do
|
||||
# The configuration test prereceive hook must match a specific naming pattern
|
||||
# In this test we create a project with a different name and then change the path.
|
||||
# Otherwise we wouldn't be able create any commits to be tagged due to the hook.
|
||||
# Otherwise, we wouldn't be able to create any commits to be tagged due to the hook.
|
||||
project.change_path("project-reject-prereceive-#{SecureRandom.hex(8)}")
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user