test(account): Fix parallel validation tests

This commit is contained in:
Timothy Messier authored and Johan Brandhorst-Satzkorn committed 2022-04-20 13:32:31 -04:00
1 parent e76c48ad36
commit 64ef193cfc
1 file changed
+2
@@ -111,6 +111,7 @@ func TestValidateCreateRequest(t *testing.T) {
},
}
for _, tc := range cases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
req := &pbs.CreateAccountRequest{Item: tc.item}
@@ -174,6 +175,7 @@ func TestValidateUpdateRequest(t *testing.T) {
},
}
for _, tc := range cases {
tc := tc
t.Run(tc.name, func(t *testing.T) {
t.Parallel()
err := validateUpdateRequest(tc.req)