fix(http): update task test to use :id

Fixes merge issue from #1562
pull/10616/head
Chris Goller 2018-12-21 09:11:57 -06:00
parent 31518b7022
commit edfb323472
1 changed files with 2 additions and 2 deletions

View File

@ -307,7 +307,7 @@ func TestTaskHandler_handleGetRun(t *testing.T) {
httprouter.ParamsKey,
httprouter.Params{
{
Key: "tid",
Key: "id",
Value: tt.args.taskID.String(),
},
{
@ -419,7 +419,7 @@ func TestTaskHandler_handleGetRuns(t *testing.T) {
httprouter.ParamsKey,
httprouter.Params{
{
Key: "tid",
Key: "id",
Value: tt.args.taskID.String(),
},
}))