Skip to content

Commit 9f0d8d4

Browse files
committed
remove interactive in Test_ServerDelete
1 parent c7854e8 commit 9f0d8d4

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"
@@ -321,8 +320,6 @@ func Test_ServerUpdateCustom(t *testing.T) {
321320
// These tests needs to be run in sequence
322321
// since they are using the interactive print
323322
func Test_ServerDelete(t *testing.T) {
324-
interactive.IsInteractive = true
325-
326323
t.Run("with all volumes", core.Test(&core.TestConfig{
327324
Commands: instance.GetCommands(),
328325
BeforeFunc: core.ExecStoreBeforeCmd(
@@ -465,6 +462,4 @@ func Test_ServerDelete(t *testing.T) {
465462
},
466463
),
467464
}))
468-
469-
interactive.IsInteractive = false
470465
}

0 commit comments

Comments
 (0)