fix: ldap unit test

This commit is contained in:
Torkel Ödegaard 2018-05-08 12:50:39 +02:00
parent 65352dccc0
commit 869d8e6f0e

View File

@ -62,7 +62,7 @@ func TestLdapAuther(t *testing.T) {
sc.userQueryReturns(user1)
result, err := ldapAuther.GetGrafanaUserFor(&LdapUserInfo{MemberOf: []string{"CN=users"}})
result, err := ldapAuther.GetGrafanaUserFor(nil, &LdapUserInfo{MemberOf: []string{"CN=users"}})
So(err, ShouldBeNil)
So(result, ShouldEqual, user1)
})