cloudapi/v2: fix newV2Server() call in test
Bug caused by two consecutive PR merge rebases, one that added a function call and another that changed the signature of the same function.
This commit is contained in:
parent
93dec413f3
commit
395a22aa21
1 changed files with 2 additions and 1 deletions
|
|
@ -411,7 +411,8 @@ func TestImageTypes(t *testing.T) {
|
|||
dir, err := ioutil.TempDir("", "osbuild-composer-test-api-v2-")
|
||||
require.NoError(t, err)
|
||||
defer os.RemoveAll(dir)
|
||||
srv, _ := newV2Server(t, dir)
|
||||
srv, _, cancel := newV2Server(t, dir)
|
||||
defer cancel()
|
||||
|
||||
test.TestRoute(t, srv.Handler("/api/image-builder-composer/v2"), false, "POST", "/api/image-builder-composer/v2/compose", fmt.Sprintf(`
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue