Skip to content

Commit 49d807b

Browse files
fix(scf): remove unused test parameter
1 parent 67c9517 commit 49d807b

1 file changed

Lines changed: 8 additions & 11 deletions

File tree

‎internal/cmd/beta/scf/space/role/set/set_test.go‎

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
scf "github.com/stackitcloud/stackit-sdk-go/services/scf/v1api"
1111

1212
"github.com/stackitcloud/stackit-cli/internal/pkg/globalflags"
13-
"github.com/stackitcloud/stackit-cli/internal/pkg/print"
1413
"github.com/stackitcloud/stackit-cli/internal/pkg/testparams"
1514
"github.com/stackitcloud/stackit-cli/internal/pkg/testutils"
1615
)
@@ -180,11 +179,10 @@ func TestBuildRequest(t *testing.T) {
180179

181180
func TestOutputResult(t *testing.T) {
182181
tests := []struct {
183-
name string
184-
model *inputModel
185-
resp *scf.SpaceRoleCreateResponse
186-
outputFormat string
187-
wantErr bool
182+
name string
183+
model *inputModel
184+
resp *scf.SpaceRoleCreateResponse
185+
wantErr bool
188186
}{
189187
{
190188
name: "default output",
@@ -193,11 +191,10 @@ func TestOutputResult(t *testing.T) {
193191
wantErr: false,
194192
},
195193
{
196-
name: "json output",
197-
model: fixtureInputModel(),
198-
resp: &scf.SpaceRoleCreateResponse{},
199-
outputFormat: print.JSONOutputFormat,
200-
wantErr: false,
194+
name: "json output",
195+
model: fixtureInputModel(),
196+
resp: &scf.SpaceRoleCreateResponse{},
197+
wantErr: false,
201198
},
202199
}
203200
params := testparams.NewTestParams()

0 commit comments

Comments
 (0)