aboutsummaryrefslogtreecommitdiff
path: root/test/bottin_test.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2021-09-16 13:52:46 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2021-09-16 13:52:46 +0200
commitdbd900371466edfdc7bb7f09080c6698e4f8e647 (patch)
tree46942c1b8956794da080bd0582f307d2ae618701 /test/bottin_test.go
parenta08be6b395949a74efc8115a726112d64e96b44d (diff)
downloadbottin-dbd900371466edfdc7bb7f09080c6698e4f8e647.tar.gz
bottin-dbd900371466edfdc7bb7f09080c6698e4f8e647.zip
Disable reconnect in tests + some cosmetic changesbug/message-id
Diffstat (limited to 'test/bottin_test.go')
-rw-r--r--test/bottin_test.go14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/bottin_test.go b/test/bottin_test.go
index 00c0da9..c7a9761 100644
--- a/test/bottin_test.go
+++ b/test/bottin_test.go
@@ -147,14 +147,12 @@ func TestDeleteGroupsAfterAddedUsers(t *testing.T) {
//Example of paralellism Test
func TestPrincipal(t *testing.T) {
-
- t.Run("A=1", TestAddThenDelete)
- t.Run("A=2", TestModifyRequest)
+ t.Run("A=Add and delete", TestAddThenDelete)
+ t.Run("A=Modify", TestModifyRequest)
if !testing.Short() {
- t.Run("B=1", TestConfirmAddAttributes)
- t.Run("B=2", TestModifyRequestAndCheck)
- t.Run("C=1", TestAddUserInGroup)
- t.Run("C=2", TestDeleteGroupsAfterAddedUsers)
+ t.Run("B=Add attributes", TestConfirmAddAttributes)
+ t.Run("B=Modify and check", TestModifyRequestAndCheck)
+ t.Run("C=Add user in group", TestAddUserInGroup)
+ t.Run("C=Delete group", TestDeleteGroupsAfterAddedUsers)
}
-
}