aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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