test/session_serialisation_test.rb in gds-sso-9.1.2 vs test/session_serialisation_test.rb in gds-sso-9.2.0

- old
+ new

@@ -31,10 +31,10 @@ assert_equal nil, result end def test_deserializing_a_user_and_in_date_timestamp_returns_the_user - User.expects(:where).with(:uid => 1234).returns(stub(:first => :a_user)) + User.expects(:where).with(:uid => 1234, :remotely_signed_out => false).returns(stub(:first => :a_user)) result = @serializer.deserialize [1234, Time.now.utc - GDS::SSO::Config.auth_valid_for + 3600] assert_equal :a_user, result end