Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
briancain committed Feb 19, 2025
1 parent fdef93f commit b62b584
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ func TestAcc_Waypoint_ApplicationInputVariables_OnTemplate(t *testing.T) {
})
}

// TestAcc_Waypoint_Application_Action_Assign tests that an application can be
// created with an action assigned to it.
func TestAcc_Waypoint_Application_Action_Assign(t *testing.T) {
t.Parallel()

Expand All @@ -130,10 +132,10 @@ func TestAcc_Waypoint_Application_Action_Assign(t *testing.T) {
PreCheck: func() { acctest.PreCheck(t) },
ProtoV6ProviderFactories: acctest.ProtoV6ProviderFactories,
CheckDestroy: func(s *terraform.State) error {
if err := testAccCheckWaypointTemplateDestroy(t, &appTemplateModel)(s); err != nil {
if err := testAccCheckWaypointApplicationDestroy(t, &applicationModel)(s); err != nil {
return err
}
if err := testAccCheckWaypointApplicationDestroy(t, &applicationModel)(s); err != nil {
if err := testAccCheckWaypointTemplateDestroy(t, &appTemplateModel)(s); err != nil {
return err
}
if err := testAccCheckWaypointActionDestroy(t, &actionCfgModel)(s); err != nil {
Expand Down
2 changes: 0 additions & 2 deletions internal/provider/waypoint/resource_waypoint_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,6 @@ resource "hcp_waypoint_template" "test" {
}`, name)
}

// TODO(briancain): We can merge this with the other template function
// and conditionally add the actions field if needed.
func testTemplateWithActionsConfig(
templateName string,
actionName string,
Expand Down

0 comments on commit b62b584

Please sign in to comment.