From ed15f1528da0eb4c3313620c743ad31e6d3af4f3 Mon Sep 17 00:00:00 2001 From: Richard LT Date: Thu, 28 May 2020 15:21:39 +0200 Subject: [PATCH] test: fix compilation after merge (#5218) --- engine/api/workflow_run_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/api/workflow_run_test.go b/engine/api/workflow_run_test.go index d9de35fbab..e776c8e4c2 100644 --- a/engine/api/workflow_run_test.go +++ b/engine/api/workflow_run_test.go @@ -1663,8 +1663,7 @@ func Test_postWorkflowRunHandlerHookWithMutex(t *testing.T) { } func Test_postWorkflowRunHandlerMutexRelease(t *testing.T) { - api, db, router, end := newTestAPI(t) - defer end() + api, db, router := newTestAPI(t) u, jwt := assets.InsertAdminUser(t, api.mustDB())