@@ -24,7 +24,7 @@ func TestServerUpdate(t *testing.T) {
2424 name = "instance_sdk_server_test"
2525 dynamicIPRequired = scw .BoolPtr (true )
2626 commercialType = "START1-S"
27- image = "f974feac-abae-4365-b988-8ec7d1cec10d"
27+ image = scw . StringPtr ( "f974feac-abae-4365-b988-8ec7d1cec10d" )
2828 enableIPv6 = scw .BoolPtr (true )
2929 bootType = BootTypeLocal
3030 tags = []string {"foo" , "bar" }
@@ -56,7 +56,7 @@ func TestServerUpdate(t *testing.T) {
5656 testhelpers .Equals (t , name , createServerResponse .Server .Name )
5757 testhelpers .Equals (t , project , createServerResponse .Server .Project )
5858 testhelpers .Equals (t , project , createServerResponse .Server .Organization )
59- testhelpers .Equals (t , image , createServerResponse .Server .Image .ID )
59+ testhelpers .Equals (t , * image , createServerResponse .Server .Image .ID )
6060 testhelpers .Equals (t , enableIPv6 , createServerResponse .Server .EnableIPv6 )
6161 testhelpers .Equals (t , bootType , createServerResponse .Server .BootType )
6262 testhelpers .Equals (t , commercialType , createServerResponse .Server .CommercialType )
@@ -104,7 +104,7 @@ func TestServerUpdate(t *testing.T) {
104104 // Initial values that are not altered in the above request should remaining the same
105105 testhelpers .Equals (t , project , updateServerResponse .Server .Project )
106106 testhelpers .Equals (t , project , updateServerResponse .Server .Organization )
107- testhelpers .Equals (t , image , updateServerResponse .Server .Image .ID )
107+ testhelpers .Equals (t , * image , updateServerResponse .Server .Image .ID )
108108 testhelpers .Equals (t , enableIPv6 , updateServerResponse .Server .EnableIPv6 )
109109 testhelpers .Equals (t , bootType , updateServerResponse .Server .BootType )
110110 testhelpers .Equals (t , commercialType , updateServerResponse .Server .CommercialType )
0 commit comments