Skip to content

Commit

Permalink
remove old workflow mode that is not platform (pr)
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed Jul 19, 2024
1 parent d4b57a6 commit c1bf187
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
10 changes: 0 additions & 10 deletions server/legacy/controllers/events/events_controller_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,16 +134,6 @@ legacy-deprecation:
{"exp-output-auto-policy-check.txt"},
},
},
{
Description: "failing policy without policies passing",
RepoDir: "policy-checks",
ModifiedFiles: []string{"main.tf"},
ExpReplies: [][]string{
{"exp-output-autoplan.txt"},
{"exp-output-auto-policy-check.txt"},
{"exp-output-auto-policy-check.txt"},
},
},
{
Description: "failing policy additional apply requirements specified",
RepoDir: "policy-checks-apply-reqs",
Expand Down
4 changes: 2 additions & 2 deletions server/legacy/events/project_command_runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ func TestDefaultProjectCommandRunner_ApplyNotApproved(t *testing.T) {
IsApproved: false,
},
},
WorkflowModeType: valid.DefaultWorkflowMode,
WorkflowModeType: valid.PlatformWorkflowMode,
}
tmp, cleanup := TempDir(t)
defer cleanup()
Expand Down Expand Up @@ -534,7 +534,7 @@ func TestDefaultProjectCommandRunner_ApplyNotMergeable(t *testing.T) {
Mergeable: false,
},
ApplyRequirements: []string{"mergeable"},
WorkflowModeType: valid.DefaultWorkflowMode,
WorkflowModeType: valid.PlatformWorkflowMode,
}
tmp, cleanup := TempDir(t)
defer cleanup()
Expand Down

0 comments on commit c1bf187

Please sign in to comment.