Use osbuild2 Manifest in all tests
The test_distro Manifest, which is used in tests across multiple packages, was using the old structure. Updated to the v2 structure and adapted all tests.
This commit is contained in:
parent
8eb12018c0
commit
c1956ba6e1
7 changed files with 13 additions and 12 deletions
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
"github.com/osbuild/osbuild-composer/internal/blueprint"
|
||||
"github.com/osbuild/osbuild-composer/internal/distro"
|
||||
osbuild "github.com/osbuild/osbuild-composer/internal/osbuild1"
|
||||
osbuild "github.com/osbuild/osbuild-composer/internal/osbuild2"
|
||||
"github.com/osbuild/osbuild-composer/internal/rpmmd"
|
||||
)
|
||||
|
||||
|
|
@ -249,8 +249,8 @@ func (t *TestImageType) Manifest(b *blueprint.Customizations, options distro.Ima
|
|||
|
||||
return json.Marshal(
|
||||
osbuild.Manifest{
|
||||
Sources: osbuild.Sources{},
|
||||
Pipeline: osbuild.Pipeline{},
|
||||
Sources: osbuild.Sources{},
|
||||
Pipelines: []osbuild.Pipeline{},
|
||||
},
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue