Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

tests[Op#49396]: remove unused setup

Kabiru Mwenjaa957e85bd1c0
diff --git a/modules/storages/spec/features/storages/project_settings/oauth_access_grant_spec.rb b/modules/storages/spec/features/storages/project_settings/oauth_access_grant_spec.rb
index 834395d9586..805115f9eef 100644
--- a/modules/storages/spec/features/storages/project_settings/oauth_access_grant_spec.rb
+++ b/modules/storages/spec/features/storages/project_settings/oauth_access_grant_spec.rb
@@ -58,18 +58,6 @@ RSpec.describe 'OAuth Access Grant Nudge upon adding a storage to a project',
let(:redirect_uri) do
"#{CGI.escape(OpenProject::Application.root_url)}/oauth_clients/#{storage.oauth_client.client_id}/callback"
end
- let(:oauth_grant_uri) do
- URI::HTTPS.build({
- host: storage.host,
- path: '/index.php/apps/oauth2/authorize',
- query: CGI::escape({
- client_id: storage.oauth_client.client_id,
- response_type: 'code',
- redirect_uri:,
- state: nonce
- }.to_query)
- })
- end
before do
allow(SecureRandom).to receive(:uuid).and_call_original.ordered