client: resolve failing test
@@ -54,20 +54,20 @@ func connectToPG() {
clientManagers["postgres"] = s
}
-func TestClientAutoGenerateKey(t *testing.T) {
+func TestCreateGetDeleteClient(t *testing.T) {
for k, m := range clientManagers {
- t.Run(fmt.Sprintf("case=%s", k), TestHelperClientAutoGenerateKey(k, m))
+ t.Run(fmt.Sprintf("case=%s", k), TestHelperCreateGetDeleteClient(k, m))
}
}
-func TestAuthenticateClient(t *testing.T) {
+func TestClientAutoGenerateKey(t *testing.T) {
for k, m := range clientManagers {
- t.Run(fmt.Sprintf("case=%s", k), TestHelperClientAuthenticate(k, m))
+ t.Run(fmt.Sprintf("case=%s", k), TestHelperClientAutoGenerateKey(k, m))
}
}
-func TestCreateGetDeleteClient(t *testing.T) {
+func TestAuthenticateClient(t *testing.T) {
for k, m := range clientManagers {
- t.Run(fmt.Sprintf("case=%s", k), TestHelperCreateGetDeleteClient(k, m))
+ t.Run(fmt.Sprintf("case=%s", k), TestHelperClientAuthenticate(k, m))
}
}
