diff --git a/internal/weldr/api_test.go b/internal/weldr/api_test.go index 339097a2c..e85b0555d 100644 --- a/internal/weldr/api_test.go +++ b/internal/weldr/api_test.go @@ -128,8 +128,8 @@ func TestBasic(t *testing.T) { require.NoError(t, err) defer os.RemoveAll(tempdir) + api, _ := createWeldrAPI(tempdir, rpmmd_mock.BaseFixture) for _, c := range cases { - api, _ := createWeldrAPI(tempdir, rpmmd_mock.BaseFixture) test.TestRoute(t, api, true, "GET", c.Path, ``, c.ExpectedStatus, c.ExpectedJSON) } }