Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GiGurra committed Sep 15, 2023
1 parent 276bfe2 commit 9db15bd
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkg/domain/deployment_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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).
Expand Down Expand Up @@ -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).
Expand Down

0 comments on commit 9db15bd

Please sign in to comment.