Skip to content

Commit 95a6e8d

Browse files
committed
remove interactive in Test_ServerDelete
1 parent b071548 commit 95a6e8d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/namespaces/instance/v1/custom_server_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import (
44
"testing"
55

66
"github.com/scaleway/scaleway-cli/v2/core"
7-
"github.com/scaleway/scaleway-cli/v2/internal/interactive"
87
block "github.com/scaleway/scaleway-cli/v2/internal/namespaces/block/v1alpha1"
98
"github.com/scaleway/scaleway-cli/v2/internal/namespaces/instance/v1"
109
"github.com/scaleway/scaleway-cli/v2/internal/testhelpers"
@@ -316,8 +315,6 @@ func Test_ServerUpdateCustom(t *testing.T) {
316315
// These tests needs to be run in sequence
317316
// since they are using the interactive print
318317
func Test_ServerDelete(t *testing.T) {
319-
interactive.IsInteractive = true
320-
321318
t.Run("with all volumes", core.Test(&core.TestConfig{
322319
Commands: instance.GetCommands(),
323320
BeforeFunc: core.ExecStoreBeforeCmd(
@@ -454,6 +451,4 @@ func Test_ServerDelete(t *testing.T) {
454451
},
455452
),
456453
}))
457-
458-
interactive.IsInteractive = false
459454
}

0 commit comments

Comments
 (0)