Commit 3142b361 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-doorkeeper-failure' into 'master'

Fix the Doorkeeper.optional_scopes issue triggered by !13314

Closes #37753

See merge request !14219
parents da4ca9f4 1e6d305b
......@@ -10,7 +10,7 @@ describe Doorkeeper.configuration do
describe '#optional_scopes' do
it 'matches Gitlab::Auth::OPTIONAL_SCOPES' do
expect(subject.optional_scopes).to eq Gitlab::Auth::OPTIONAL_SCOPES
expect(subject.optional_scopes).to eq Gitlab::Auth::OPTIONAL_SCOPES - Gitlab::Auth::REGISTRY_SCOPES
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment