Commit c85cba86 authored by Robert Speicher's avatar Robert Speicher

Fix Gitlab::Auth spec for Kerberos

parent 2911a6d8
......@@ -82,7 +82,7 @@ describe Gitlab::Auth, lib: true do
allow(Gitlab::Kerberos::Authentication).to receive_messages(valid?: true)
allow(Gitlab::Kerberos::Authentication).to receive_messages(email: user.email)
expect( gl_auth.find(username, password) ).to eql user
expect( gl_auth.find_in_gitlab_or_ldap(username, password) ).to eql user
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment