pass DN in ldap test

This commit is contained in:
Dan Cech
2018-04-06 11:23:17 -04:00
parent daeba40b3b
commit c8a0c1e6b8

View File

@@ -65,6 +65,7 @@ func TestLdapAuther(t *testing.T) {
sc.userQueryReturns(nil)
result, err := ldapAuther.GetGrafanaUserFor(nil, &LdapUserInfo{
DN: "torkelo",
Username: "torkelo",
Email: "my@email.com",
MemberOf: []string{"cn=editor"},