@@ -48,7 +48,9 @@ func TestCreateAppVersionCommand(t *testing.T) {
4848 ctrl := gomock .NewController (t )
4949 defer ctrl .Finish ()
5050
51- serverDetails := & config.ServerDetails {Url : "https://example.com" }
51+ serverDetails := & config.ServerDetails {
52+ Url : "https://example.com" ,
53+ }
5254 mockVersionService := mockversions .NewMockVersionService (ctrl )
5355 if tt .shouldError {
5456 mockVersionService .EXPECT ().CreateAppVersion (gomock .Any (), tt .request ).
@@ -86,7 +88,9 @@ func TestCreateAppVersionCommand_SpecAndFlags_Error(t *testing.T) {
8688 ctx .AddStringFlag ("spec" , testSpecPath )
8789 ctx .AddStringFlag ("package-name" , "name" )
8890
89- serverDetails := & config.ServerDetails {Url : "https://example.com" }
91+ serverDetails := & config.ServerDetails {
92+ Url : "https://example.com" ,
93+ }
9094 mockVersionService := mockversions .NewMockVersionService (ctrl )
9195
9296 cmd := & createAppVersionCommand {
@@ -161,7 +165,9 @@ func TestCreateAppVersionCommand_FlagsSuite(t *testing.T) {
161165 ctx := & components.Context {}
162166 tt .ctxSetup (ctx )
163167
164- serverDetails := & config.ServerDetails {Url : "https://example.com" }
168+ serverDetails := & config.ServerDetails {
169+ Url : "https://example.com" ,
170+ }
165171 var actualPayload * model.CreateAppVersionRequest
166172 mockVersionService := mockversions .NewMockVersionService (ctrl )
167173 if ! tt .expectsError {
@@ -329,7 +335,9 @@ func TestCreateAppVersionCommand_SpecFileSuite(t *testing.T) {
329335 }
330336 ctx .AddStringFlag ("spec" , tt .specPath )
331337
332- serverDetails := & config.ServerDetails {Url : "https://example.com" }
338+ serverDetails := & config.ServerDetails {
339+ Url : "https://example.com" ,
340+ }
333341 var actualPayload * model.CreateAppVersionRequest
334342 mockVersionService := mockversions .NewMockVersionService (ctrl )
335343 if ! tt .expectsError {
0 commit comments