cloudapi: update expected image type test for gcp-rhui
gce-rhui is now gone from RHEL 9 [1] and the old name simply aliases to gce. gcp-rhui in the cloudapi now resolves to 'gce' in RHEL 9 and 'gce-rhui' in RHEL 8. [1] https://github.com/osbuild/images/pull/857
This commit is contained in:
parent
ec01c6908b
commit
4248564a55
1 changed files with 7 additions and 1 deletions
|
|
@ -674,7 +674,13 @@ func TestGetImageRequests_ImageTypeConversion(t *testing.T) {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
requestedImageType: ImageTypesGcpRhui,
|
requestedImageType: ImageTypesGcpRhui,
|
||||||
requestedDistros: []string{rhel8, rhel9},
|
requestedDistros: []string{rhel9},
|
||||||
|
expectedImageType: "gce",
|
||||||
|
expectedTargetName: target.TargetNameGCP,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
requestedImageType: ImageTypesGcpRhui,
|
||||||
|
requestedDistros: []string{rhel8},
|
||||||
expectedImageType: "gce-rhui",
|
expectedImageType: "gce-rhui",
|
||||||
expectedTargetName: target.TargetNameGCP,
|
expectedTargetName: target.TargetNameGCP,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue