Merge branch 'sh-fix-openid-spec-failure' into 'master'

Fix OpenID spec failure that assumed current_sign_in_at would be set

Closes #32041

See merge request !11219
This commit is contained in:
Robert Speicher 2017-05-09 17:48:11 +00:00
commit 561ec48cfa

View file

@ -1,7 +1,7 @@
require 'spec_helper'
describe 'OpenID Connect requests' do
let(:user) { create :user }
let(:user) { create(:user, current_sign_in_at: Time.now) }
let(:access_grant) { create :oauth_access_grant, application: application, resource_owner_id: user.id }
let(:access_token) { create :oauth_access_token, application: application, resource_owner_id: user.id }