Chore: Fix various spelling errors in back-end code (#25241)

* Chore: Fix various spelling errors in back-end code
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>>
This commit is contained in:
Arve Knudsen
2020-06-01 17:11:25 +02:00
committed by GitHub
parent 13787294c6
commit 07582a8e85
60 changed files with 174 additions and 168 deletions

View File

@@ -453,7 +453,7 @@ func (server *Server) AdminBind() error {
err := server.userBind(server.Config.BindDN, server.Config.BindPassword)
if err != nil {
server.log.Error(
"Cannot authentificate admin user in LDAP",
"Cannot authenticate admin user in LDAP",
"error",
err,
)

View File

@@ -121,7 +121,7 @@ func TestLDAPLogin(t *testing.T) {
So(resp.Login, ShouldEqual, "markelog")
})
Convey("Should perform unauthentificate bind without admin", func() {
Convey("Should perform unauthenticated bind without admin", func() {
connection := &MockConnection{}
entry := ldap.Entry{
DN: "test",
@@ -147,7 +147,7 @@ func TestLDAPLogin(t *testing.T) {
So(connection.UnauthenticatedBindCalled, ShouldBeTrue)
})
Convey("Should perform authentificate binds", func() {
Convey("Should perform authenticated binds", func() {
connection := &MockConnection{}
entry := ldap.Entry{
DN: "test",