aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-09-16 13:13:20 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-09-16 13:13:20 +0200
commit24e591c62a1a91b92702f81fe68887b48e84bc51 (patch)
tree2ebf89d64cd1af38a5293063ae07849f766d1224 /test
parent563fc272a36c8be317fbe95c8308ca2dfa29c3aa (diff)
parenta53641e773730ba171df2602c8d199968d6e6447 (diff)
downloadbottin-24e591c62a1a91b92702f81fe68887b48e84bc51.tar.gz
bottin-24e591c62a1a91b92702f81fe68887b48e84bc51.zip
Merge branch 'main' into import_goldapimport_goldap
Diffstat (limited to 'test')
-rw-r--r--test/bottin_test.go2
-rw-r--r--test/handler.go1
2 files changed, 0 insertions, 3 deletions
diff --git a/test/bottin_test.go b/test/bottin_test.go
index f4ed7fe..c7a9761 100644
--- a/test/bottin_test.go
+++ b/test/bottin_test.go
@@ -147,7 +147,6 @@ func TestDeleteGroupsAfterAddedUsers(t *testing.T) {
//Example of paralellism Test
func TestPrincipal(t *testing.T) {
-
t.Run("A=Add and delete", TestAddThenDelete)
t.Run("A=Modify", TestModifyRequest)
if !testing.Short() {
@@ -156,5 +155,4 @@ func TestPrincipal(t *testing.T) {
t.Run("C=Add user in group", TestAddUserInGroup)
t.Run("C=Delete group", TestDeleteGroupsAfterAddedUsers)
}
-
}
diff --git a/test/handler.go b/test/handler.go
index fdee34f..945b676 100644
--- a/test/handler.go
+++ b/test/handler.go
@@ -80,7 +80,6 @@ func MapAttToStruct(att map[string][]string) []attributes {
}
func Connect() (*ldap.Conn, error) {
-
l, err := ldap.Dial("tcp", fmt.Sprintf("%s:%d", adresse, port))
if err != nil {
return nil, err