summaryrefslogtreecommitdiffstats
path: root/api/user_test.go
diff options
context:
space:
mode:
authorJason Blais <jason@spinpunch.com>2016-09-06 15:27:32 -0400
committerenahum <nahumhbl@gmail.com>2016-09-06 16:27:32 -0300
commit449b0665983bf83f1be7293b1bcc5d261dfcda02 (patch)
tree457c10be9b4d950de54c080291f6ada2ebf4a25d /api/user_test.go
parentb8927e4bfa388337c5911264b3df81738137df7e (diff)
downloadchat-449b0665983bf83f1be7293b1bcc5d261dfcda02.tar.gz
chat-449b0665983bf83f1be7293b1bcc5d261dfcda02.tar.bz2
chat-449b0665983bf83f1be7293b1bcc5d261dfcda02.zip
PLT-3766 Change LDAP references to AD/LDAP in the UI (#3925)
Diffstat (limited to 'api/user_test.go')
-rw-r--r--api/user_test.go6
1 files changed, 3 insertions, 3 deletions
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")
}
}