Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into tdstein/vscode-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein committed Oct 26, 2023
2 parents a0a813b + 4180b83 commit 5aef0db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/services/api/deployments/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ func (s deploymentsService) SetDeploymentTitle(title string) *state.Deployment {

return s.deployment
}
<<<<<<< HEAD

func (s deploymentsService) SetDeploymentAccount(lister accounts.AccountList, name string) (*state.Deployment, error) {
account, err := lister.GetAccountByName(name)
Expand All @@ -60,5 +59,3 @@ func (s deploymentsService) SetDeploymentAccount(lister accounts.AccountList, na

return s.deployment, nil
}
=======
>>>>>>> 928e4903 (Create api/deployment/title endpoint)
5 changes: 5 additions & 0 deletions internal/services/api/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ func (m *MockDeploymentsService) SetDeploymentFiles(files []string) *state.Deplo
return args.Get(0).(*state.Deployment)
}

func (m *MockDeploymentsService) SetDeploymentTitle(title string) *state.Deployment {
args := m.Called()
return args.Get(0).(*state.Deployment)
}

func (m *MockDeploymentsService) SetDeploymentAccount(lister accounts.AccountList, account_name string) (*state.Deployment, error) {
args := m.Called()
return args.Get(0).(*state.Deployment), nil
Expand Down

0 comments on commit 5aef0db

Please sign in to comment.