Skip to content

Commit

Permalink
add to test
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed Apr 8, 2024
1 parent 1d5f9ff commit 6531d39
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions server/neptune/workflows/internal/terraform/workflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ func TestSuccess_PRMode(t *testing.T) {
Repo: testGithubRepo,
Root: testLocalRoot.Root,
DeploymentID: testDeploymentID,
WorkflowMode: testWorkflowMode,
}).Return(activities.FetchRootResponse{
LocalRoot: testLocalRoot,
DeployDirectory: DeployDir,
Expand Down Expand Up @@ -645,6 +646,7 @@ func TestSuccess_AdminMode(t *testing.T) {
Repo: testGithubRepo,
Root: testLocalRoot.Root,
DeploymentID: testDeploymentID,
WorkflowMode: testWorkflowMode,
}).Return(activities.FetchRootResponse{
LocalRoot: testLocalRoot,
DeployDirectory: DeployDir,
Expand Down Expand Up @@ -727,6 +729,7 @@ func TestSuccess_PRMode_FailedPolicy(t *testing.T) {
Repo: testGithubRepo,
Root: testLocalRoot.Root,
DeploymentID: testDeploymentID,
WorkflowMode: testWorkflowMode,
}).Return(activities.FetchRootResponse{
LocalRoot: testLocalRoot,
DeployDirectory: DeployDir,
Expand Down Expand Up @@ -869,6 +872,7 @@ func TestUpdateJobError(t *testing.T) {
Repo: testGithubRepo,
Root: testLocalRoot.Root,
DeploymentID: testDeploymentID,
WorkflowMode: testWorkflowMode,
}).Return(activities.FetchRootResponse{
DeployDirectory: DeployDir,
LocalRoot: testLocalRoot,
Expand Down Expand Up @@ -915,6 +919,7 @@ func TestPlanRejection(t *testing.T) {
Repo: testGithubRepo,
Root: testLocalRoot.Root,
DeploymentID: testDeploymentID,
WorkflowMode: testWorkflowMode,
}).Return(activities.FetchRootResponse{
DeployDirectory: DeployDir,
LocalRoot: testLocalRoot,
Expand Down Expand Up @@ -1083,6 +1088,7 @@ func TestFetchRootError(t *testing.T) {
Repo: testGithubRepo,
Root: testLocalRoot.Root,
DeploymentID: testDeploymentID,
WorkflowMode: testWorkflowMode,
}).Return(activities.FetchRootResponse{
DeployDirectory: DeployDir,
LocalRoot: testLocalRoot,
Expand Down

0 comments on commit 6531d39

Please sign in to comment.