diff --git a/pkg/domain/deployment_service_test.go b/pkg/domain/deployment_service_test.go index 5c3cbf0..29ff4f2 100644 --- a/pkg/domain/deployment_service_test.go +++ b/pkg/domain/deployment_service_test.go @@ -20,6 +20,11 @@ func TestDeployFromFolder_newApp(t *testing.T) { fmt.Printf("flyClient: %+v\n", flyClient) + flyClient. + EXPECT(). + GetAppScale(mock.Anything, mock.Anything). + Return([]model.ScaleState{}, nil) + flyClient. EXPECT(). ExistsApp(mock.Anything, mock.Anything). @@ -53,6 +58,11 @@ func TestDeployFromFolder_existingApp(t *testing.T) { fmt.Printf("flyClient: %+v\n", flyClient) + flyClient. + EXPECT(). + GetAppScale(mock.Anything, mock.Anything). + Return([]model.ScaleState{}, nil) + flyClient. EXPECT(). ExistsApp(mock.Anything, mock.Anything). @@ -86,6 +96,11 @@ func TestDeployFromFolder_appMergingConfig(t *testing.T) { fmt.Printf("flyClient: %+v\n", flyClient) + flyClient. + EXPECT(). + GetAppScale(mock.Anything, mock.Anything). + Return([]model.ScaleState{}, nil) + flyClient. EXPECT(). ExistsApp(mock.Anything, mock.Anything).