diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-10 00:08:12 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-10 00:08:12 +0000 |
commit | 9ac561230fb7a94c8f8e35163fe47fdb9829b108 (patch) | |
tree | b44d58434301914890663eee246103596f106552 /spec | |
parent | 5aa96ff14229dba7e35f213354963febf3ad2833 (diff) | |
download | gitlab-ce-9ac561230fb7a94c8f8e35163fe47fdb9829b108.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec')
-rw-r--r-- | spec/requests/api/remote_mirrors_spec.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/spec/requests/api/remote_mirrors_spec.rb b/spec/requests/api/remote_mirrors_spec.rb index 5b5188e024c..3eaec6e2520 100644 --- a/spec/requests/api/remote_mirrors_spec.rb +++ b/spec/requests/api/remote_mirrors_spec.rb @@ -24,19 +24,6 @@ describe API::RemoteMirrors do expect(response).to have_gitlab_http_status(:success) expect(response).to match_response_schema('remote_mirrors') end - - # TODO: Remove flag: https://gitlab.com/gitlab-org/gitlab/issues/38121 - context 'with the `remote_mirrors_api` feature disabled' do - before do - stub_feature_flags(remote_mirrors_api: false) - end - - it 'responds with `not_found`' do - get api(route, user) - - expect(response).to have_gitlab_http_status(:not_found) - end - end end describe 'POST /projects/:id/remote_mirrors' do @@ -132,18 +119,5 @@ describe API::RemoteMirrors do expect(json_response['keep_divergent_refs']).to eq(true) end end - - # TODO: Remove flag: https://gitlab.com/gitlab-org/gitlab/issues/38121 - context 'with the `remote_mirrors_api` feature disabled' do - before do - stub_feature_flags(remote_mirrors_api: false) - end - - it 'responds with `not_found`' do - put api(route[mirror.id], user) - - expect(response).to have_gitlab_http_status(:not_found) - end - end end end |