Skip to content

Commit

Permalink
fix: Remove unnecessary fields in apply presets test
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyakuz-db committed Nov 18, 2024
1 parent 53e1f6d commit 00bb683
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bundle/config/mutator/apply_presets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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{
Expand Down Expand Up @@ -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{
Expand All @@ -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{
Expand Down Expand Up @@ -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{
Expand Down

0 comments on commit 00bb683

Please sign in to comment.