From d7ed6fdc0d51f4b96ca7b66cdc96b06c8217d012 Mon Sep 17 00:00:00 2001 From: Goran Rojovic <100121253+goran-ethernal@users.noreply.github.com> Date: Wed, 28 Aug 2024 16:28:29 +0200 Subject: [PATCH] fix: uts (#117) --- config/config_test.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/config_test.go b/config/config_test.go index 099e113..f41bfbd 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -15,8 +15,6 @@ import ( ) func Test_Defaults(t *testing.T) { - t.Parallel() - tcs := []struct { path string expectedValue interface{} @@ -51,8 +49,6 @@ func Test_Defaults(t *testing.T) { for _, tc := range tcs { tc := tc t.Run(tc.path, func(t *testing.T) { - t.Parallel() - actual := getValueFromStruct(tc.path, cfg) require.Equal(t, tc.expectedValue, actual) }) @@ -60,8 +56,6 @@ func Test_Defaults(t *testing.T) { } func Test_ConfigFileNotFound(t *testing.T) { - t.Parallel() - flags := flag.FlagSet{} flags.String("cfg", "/fictitious-file/foo.cfg", "") @@ -71,8 +65,6 @@ func Test_ConfigFileNotFound(t *testing.T) { } func Test_ConfigFileOverride(t *testing.T) { - t.Parallel() - tempDir := t.TempDir() overrides := filepath.Join(tempDir, "overrides.toml") f, err := os.Create(overrides)