Fix test for prompt == "none"
This commit is contained in:
parent
d351db1982
commit
adcf2ab7ab
2 changed files with 0 additions and 3 deletions
|
|
@ -202,8 +202,6 @@ module Api
|
|||
redirect_to params[:redirect_uri] + "?" + redirect_fragment
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def auth_user_unless_prompt_none!
|
||||
if params[:prompt] == "none" && !user_signed_in?
|
||||
render json: {error: "login_required",
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ describe Api::OpenidConnect::AuthorizationsController, type: :controller do
|
|||
|
||||
before do
|
||||
sign_in :user, alice
|
||||
allow(@controller).to receive(:current_user).and_return(alice)
|
||||
end
|
||||
|
||||
describe "#new" do
|
||||
|
|
|
|||
Loading…
Reference in a new issue