pass DN in ldap test

This commit is contained in:
Dan Cech
2018-04-17 14:06:25 -04:00
parent daeba40b3b
commit c8a0c1e6b8
+1
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"},