Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-11 18:07:26 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-11 18:07:26 +0300
commit6282dd78339f98cbc5624e7fdf744a342d3d8b73 (patch)
tree50952cb7a6f9ead4c805c20227871d3be845cc98 /spec/features/oauth_login_spec.rb
parentb9ab87c14ce9ebe8284aeffa32c1cee934156e58 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/oauth_login_spec.rb')
-rw-r--r--spec/features/oauth_login_spec.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/features/oauth_login_spec.rb b/spec/features/oauth_login_spec.rb
index 99e4c680548..fca8972b56c 100644
--- a/spec/features/oauth_login_spec.rb
+++ b/spec/features/oauth_login_spec.rb
@@ -166,16 +166,6 @@ RSpec.describe 'OAuth Login', :allow_forgery_protection do
expect(page).to have_current_path(Gitlab::Routing.url_helpers.root_url, ignore_query: true)
end
-
- it 'does not include the fragment for an implicit grant' do
- implicit_grant_params = params.merge(response_type: 'token')
- escaped_url = Regexp.escape(Gitlab::Routing.url_helpers.root_url)
- auth_params_fragment = '#[a-zA-Z0-9&=_]+'
-
- visit "#{Gitlab::Routing.url_helpers.oauth_authorization_url(implicit_grant_params)}#a_test-hash"
-
- expect(page).to have_current_path(%r{\A#{escaped_url}#{auth_params_fragment}\z}, ignore_query: true, url: true)
- end
end
context 'when JS is disabled' do