From 00bb683be91ff4b42ae72765164439e0f27cabe7 Mon Sep 17 00:00:00 2001 From: Ilya Kuznetsov Date: Mon, 18 Nov 2024 16:13:14 +0100 Subject: [PATCH] fix: Remove unnecessary fields in apply presets test --- bundle/config/mutator/apply_presets_test.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bundle/config/mutator/apply_presets_test.go b/bundle/config/mutator/apply_presets_test.go index 5107faa524..f70831abbd 100644 --- a/bundle/config/mutator/apply_presets_test.go +++ b/bundle/config/mutator/apply_presets_test.go @@ -105,7 +105,6 @@ func TestApplyPresetsPrefixForUcSchema(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { b := &bundle.Bundle{ - SyncRoot: vfs.MustNew(t.TempDir()), Config: config.Root{ Resources: config.Resources{ Schemas: map[string]*resources.Schema{ @@ -175,7 +174,6 @@ func TestApplyPresetsTags(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { b := &bundle.Bundle{ - SyncRoot: vfs.MustNew(t.TempDir()), Config: config.Root{ Resources: config.Resources{ Jobs: map[string]*resources.Job{ @@ -235,7 +233,6 @@ func TestApplyPresetsJobsMaxConcurrentRuns(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { b := &bundle.Bundle{ - SyncRoot: vfs.MustNew(t.TempDir()), Config: config.Root{ Resources: config.Resources{ Jobs: map[string]*resources.Job{ @@ -261,7 +258,6 @@ func TestApplyPresetsJobsMaxConcurrentRuns(t *testing.T) { func TestApplyPresetsPrefixWithoutJobSettings(t *testing.T) { b := &bundle.Bundle{ - SyncRoot: vfs.MustNew(t.TempDir()), Config: config.Root{ Resources: config.Resources{ Jobs: map[string]*resources.Job{ @@ -357,7 +353,6 @@ func TestApplyPresetsResourceNotDefined(t *testing.T) { for _, tt := range tests { t.Run(tt.error, func(t *testing.T) { b := &bundle.Bundle{ - SyncRoot: vfs.MustNew(t.TempDir()), Config: config.Root{ Resources: tt.resources, Presets: config.Presets{