mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 12:17:12 +00:00
DEV: Remove fsl
cookie from specs (#13657)
This cookie has not been used for a number of years, and has no effect. This commit removes it from the specs. (diff is almost entirely whitespace)
This commit is contained in:
parent
968ec4f2af
commit
a1e5a6bbe0
@ -600,11 +600,6 @@ RSpec.describe Users::OmniauthCallbacksController do
|
||||
end
|
||||
end
|
||||
|
||||
context 'with full screen login' do
|
||||
before do
|
||||
cookies['fsl'] = true
|
||||
end
|
||||
|
||||
it "doesn't attempt redirect to external origin" do
|
||||
post "/auth/google_oauth2?origin=https://example.com/external"
|
||||
get "/auth/google_oauth2/callback"
|
||||
@ -698,11 +693,6 @@ RSpec.describe Users::OmniauthCallbacksController do
|
||||
|
||||
expect(cookies['authentication_data']).to be_nil
|
||||
end
|
||||
|
||||
after do
|
||||
cookies.delete('fsl')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
context 'when attempting reconnect' do
|
||||
|
Loading…
x
Reference in New Issue
Block a user