@@ -27,18 +27,10 @@ func TestAccDataSourceOffer_Basic(t *testing.T) {
2727 Check : resource .ComposeTestCheckFunc (
2828 resource .TestCheckResourceAttrSet ("data.scaleway_webhosting_offer.by_id" , "id" ),
2929 resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_id" , "name" , "professional" ),
30-
3130 resource .TestCheckResourceAttrSet ("data.scaleway_webhosting_offer.by_name" , "id" ),
3231 resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "name" , "professional" ),
33- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "product.0.option" , "false" ),
34- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "product.0.email_accounts_quota" , "10" ),
35- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "product.0.email_storage_quota" , "5" ),
36- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "product.0.databases_quota" , "-1" ),
37- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "product.0.hosting_storage_quota" , "100" ),
38- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "product.0.support_included" , "true" ),
39- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "product.0.v_cpu" , "4" ),
40- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "product.0.ram" , "2" ),
41- resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "price" , "€ 18.99" ),
32+ resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "offer.0.name" , "professional" ),
33+ resource .TestCheckResourceAttr ("data.scaleway_webhosting_offer.by_name" , "offer.0.price" , "€ 18.99" ),
4234 ),
4335 },
4436 },
0 commit comments