We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7e13a5 commit 59617bbCopy full SHA for 59617bb
apptrust/commands/version/create_app_version_cmd_test.go
@@ -79,13 +79,12 @@ func TestCreateAppVersionCommand_SpecAndFlags_Error(t *testing.T) {
79
ctrl := gomock.NewController(t)
80
defer ctrl.Finish()
81
82
- // Set up context with both --spec and another source flag
83
testSpecPath := "./testfiles/test-spec.json"
84
ctx := &components.Context{
85
Arguments: []string{"app-key", "1.0.0"},
86
}
87
ctx.AddStringFlag("spec", testSpecPath)
88
- ctx.AddStringFlag("package-name", "name") // Any other source flag
+ ctx.AddStringFlag("package-name", "name")
89
90
serverDetails := &config.ServerDetails{Url: "https://example.com"}
91
mockVersionService := mockversions.NewMockVersionService(ctrl)
0 commit comments