fix: Remove unnecessary fields in apply presets test

This commit is contained in:
Ilya Kuznetsov 2024-11-18 16:13:14 +01:00
parent 53e1f6df6a
commit 00bb683be9
No known key found for this signature in database
GPG Key ID: 91F3DDCF5D21CDDF
1 changed files with 0 additions and 5 deletions

View File

@ -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{