File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 88)
99
1010func TestTruncateString (t * testing.T ) {
11+ t .Parallel () // Enable parallel execution for the top-level test
1112 tests := []struct {
1213 name string
1314 input string
@@ -30,6 +31,7 @@ func TestTruncateString(t *testing.T) {
3031}
3132
3233func TestUpsertEnvironmentStatus (t * testing.T ) {
34+ t .Parallel () // Enable parallel execution for the top-level test
3335 tests := []struct {
3436 name string
3537 initial []promoterv1alpha1.EnvironmentStatus
@@ -58,10 +60,7 @@ func TestUpsertEnvironmentStatus(t *testing.T) {
5860
5961 for _ , tt := range tests {
6062 t .Run (tt .name , func (t * testing.T ) {
61- // Call the function under test
6263 result := UpsertEnvironmentStatus (tt .initial , tt .insert )
63-
64- // Assert the result matches the expected value using testify assert
6564 assert .Equal (t , tt .expected , result )
6665 })
6766 }
You can’t perform that action at this time.
0 commit comments