diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-30 22:44:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-30 22:44:39 +0300 |
commit | 6b43844c5d3496e30ecf05b01ee09c877ada5164 (patch) | |
tree | b15387697c7fd4d226c356112a0a7d47ebde68f8 /spec/requests | |
parent | 2be5e2c1605042dbe8974310b45174d855ded65d (diff) |
Add latest changes from gitlab-org/security/gitlab@16-1-stable-ee
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/bulk_imports_spec.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/requests/api/bulk_imports_spec.rb b/spec/requests/api/bulk_imports_spec.rb index fdbfbf052d0..b159d4ad445 100644 --- a/spec/requests/api/bulk_imports_spec.rb +++ b/spec/requests/api/bulk_imports_spec.rb @@ -248,20 +248,6 @@ RSpec.describe API::BulkImports, feature_category: :importers do end end - context 'when the destination_namespace is invalid' do - it 'returns invalid error' do - params[:entities][0][:destination_namespace] = 'dest?nation-namespace' - - request - expect(response).to have_gitlab_http_status(:bad_request) - expect(json_response['error']).to include('entities[0][destination_namespace] must have a relative path ' \ - 'structure with no HTTP protocol characters, or leading or ' \ - 'trailing forward slashes. Path segments must not start or end ' \ - 'with a special character, and must not contain consecutive ' \ - 'special characters.') - end - end - context 'when the destination_slug is invalid' do it 'returns invalid error when restricting special characters is disabled' do Feature.disable(:restrict_special_characters_in_namespace_path) |