From 449b0665983bf83f1be7293b1bcc5d261dfcda02 Mon Sep 17 00:00:00 2001 From: Jason Blais Date: Tue, 6 Sep 2016 15:27:32 -0400 Subject: PLT-3766 Change LDAP references to AD/LDAP in the UI (#3925) --- api/user_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'api/user_test.go') diff --git a/api/user_test.go b/api/user_test.go index 5e8d6d54f..15397ff0f 100644 --- a/api/user_test.go +++ b/api/user_test.go @@ -201,7 +201,7 @@ func TestLogin(t *testing.T) { store.Must(Srv.Store.User().VerifyEmail(user3.Id)) if _, err := Client.Login(user3.Id, user3.Password); err == nil { - t.Fatal("LDAP user should not be able to log in with LDAP disabled") + t.Fatal("AD/LDAP user should not be able to log in with AD/LDAP disabled") } } @@ -218,7 +218,7 @@ func TestLoginByLdap(t *testing.T) { store.Must(Srv.Store.User().VerifyEmail(ruser.Data.(*model.User).Id)) if _, err := Client.LoginByLdap(ruser.Data.(*model.User).Id, user.Password); err == nil { - t.Fatal("should've failed to log in with non-ldap user") + t.Fatal("should have failed to log in with non AD/LDAP user") } } @@ -1558,7 +1558,7 @@ func TestLDAPToEmail(t *testing.T) { m["email"] = user.Email if _, err := Client.LDAPToEmail(m); err == nil { - t.Fatal("should have failed - user is not an LDAP user") + t.Fatal("should have failed - user is not an AD/LDAP user") } } -- cgit v1.2.3-1-g7c22