Skip to content

Commit

Permalink
[WAYP-2334] waypoint: Fix delete template tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
paladin-devops committed Mar 19, 2024
1 parent 275ae1e commit fe1101b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/commands/waypoint/template/template_delete_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ func TestCmdTemplateDelete(t *testing.T) {
return profile.TestProfile(t).SetOrgID("123")
},
Args: []string{
"--id=123",
"--name=cli-template",
},
Expect: &TemplateOpts{
ID: "123",
Name: "cli-template",
},
},
}
Expand Down Expand Up @@ -78,7 +78,7 @@ func TestCmdTemplateDelete(t *testing.T) {
cmd.Run(c.Args)

if c.Expect != nil {
r.Equal(&c.Expect.ID, &tplOpts.ID)
r.Equal(&c.Expect.Name, &tplOpts.Name)
}
})
}
Expand Down

0 comments on commit fe1101b

Please sign in to comment.