Skip to content

Commit 0bbebc6

Browse files
authored
tests(webhosting): replace performance offer with professional (scaleway#2570)
* tests(webhosting): replace performance offer with professional * update cassette
1 parent cca6a48 commit 0bbebc6

File tree

2 files changed

+493
-323
lines changed

2 files changed

+493
-323
lines changed

internal/services/webhosting/offer_data_source_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func TestAccDataSourceOffer_Basic(t *testing.T) {
1717
{
1818
Config: `
1919
data "scaleway_webhosting_offer" "by_name" {
20-
name = "performance"
20+
name = "professional"
2121
}
2222
2323
data "scaleway_webhosting_offer" "by_id" {
@@ -26,10 +26,10 @@ func TestAccDataSourceOffer_Basic(t *testing.T) {
2626
`,
2727
Check: resource.ComposeTestCheckFunc(
2828
resource.TestCheckResourceAttrSet("data.scaleway_webhosting_offer.by_id", "id"),
29-
resource.TestCheckResourceAttr("data.scaleway_webhosting_offer.by_id", "name", "performance"),
29+
resource.TestCheckResourceAttr("data.scaleway_webhosting_offer.by_id", "name", "professional"),
3030

3131
resource.TestCheckResourceAttrSet("data.scaleway_webhosting_offer.by_name", "id"),
32-
resource.TestCheckResourceAttr("data.scaleway_webhosting_offer.by_name", "name", "performance"),
32+
resource.TestCheckResourceAttr("data.scaleway_webhosting_offer.by_name", "name", "professional"),
3333
resource.TestCheckResourceAttr("data.scaleway_webhosting_offer.by_name", "product.0.option", "false"),
3434
resource.TestCheckResourceAttr("data.scaleway_webhosting_offer.by_name", "product.0.email_accounts_quota", "10"),
3535
resource.TestCheckResourceAttr("data.scaleway_webhosting_offer.by_name", "product.0.email_storage_quota", "5"),

0 commit comments

Comments
 (0)