mirror of
https://github.com/discourse/discourse.git
synced 2025-02-12 08:37:14 +08: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
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'with full screen login' do
|
|
||||||
before do
|
|
||||||
cookies['fsl'] = true
|
|
||||||
end
|
|
||||||
|
|
||||||
it "doesn't attempt redirect to external origin" do
|
it "doesn't attempt redirect to external origin" do
|
||||||
post "/auth/google_oauth2?origin=https://example.com/external"
|
post "/auth/google_oauth2?origin=https://example.com/external"
|
||||||
get "/auth/google_oauth2/callback"
|
get "/auth/google_oauth2/callback"
|
||||||
|
@ -698,11 +693,6 @@ RSpec.describe Users::OmniauthCallbacksController do
|
||||||
|
|
||||||
expect(cookies['authentication_data']).to be_nil
|
expect(cookies['authentication_data']).to be_nil
|
||||||
end
|
end
|
||||||
|
|
||||||
after do
|
|
||||||
cookies.delete('fsl')
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'when attempting reconnect' do
|
context 'when attempting reconnect' do
|
||||||
|
|
Loading…
Reference in New Issue
Block a user