diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-10 21:49:20 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-02-10 22:43:19 +0300 |
commit | da4866c2bebf68a400d6f569440d017245728450 (patch) | |
tree | 5db1990ba61f95806d655fc7ec1c7a31daed8d16 /tpl/openapi | |
parent | d1109f590adf78afb3052e9aa3b89d093c08db47 (diff) |
Simplify some integration tests
Diffstat (limited to 'tpl/openapi')
-rw-r--r-- | tpl/openapi/openapi3/integration_test.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tpl/openapi/openapi3/integration_test.go b/tpl/openapi/openapi3/integration_test.go index 2b0730154..d3be0eda9 100644 --- a/tpl/openapi/openapi3/integration_test.go +++ b/tpl/openapi/openapi3/integration_test.go @@ -18,12 +18,10 @@ import ( "testing" "github.com/gohugoio/hugo/hugolib" - - qt "github.com/frankban/quicktest" ) func TestUnmarshal(t *testing.T) { - c := qt.New(t) + t.Parallel() files := ` -- assets/api/myapi.yaml -- @@ -60,7 +58,7 @@ API: {{ $api.Info.Title | safeHTML }} b := hugolib.NewIntegrationTestBuilder( hugolib.IntegrationTestConfig{ - T: c, + T: t, Running: true, TxtarString: files, }, |