fix: adjust tests to new api version with acl in network segment

This commit is contained in:
Marcel S. Henselin 2025-12-30 08:04:53 +01:00
parent 318d2e0962
commit 7d66568003
2 changed files with 18 additions and 11 deletions

View file

@ -125,11 +125,6 @@ func TestMapFields(t *testing.T) {
ProjectId: types.StringValue("pid"),
},
&sqlserverflex.GetInstanceResponse{
Acl: &[]string{
"ip1",
"ip2",
"",
},
BackupSchedule: utils.Ptr("schedule"),
FlavorId: utils.Ptr("flavor_id"),
Id: utils.Ptr("iid"),
@ -145,6 +140,16 @@ func TestMapFields(t *testing.T) {
Version: sqlserverflex.GetInstanceResponseGetVersionAttributeType(utils.Ptr("version")),
IsDeletable: utils.Ptr(true),
Encryption: nil,
Network: &sqlserverflex.InstanceNetwork{
AccessScope: nil,
Acl: &[]string{
"ip1",
"ip2",
"",
},
InstanceAddress: nil,
RouterAddress: nil,
},
},
&flavorModel{
Id: basetypes.NewStringValue("flavor_id"),