Skip to content

Commit

Permalink
tests(linux_web_app_*): Validate "AlwaysOn" property on update
Browse files Browse the repository at this point in the history
  • Loading branch information
Apokalypt committed Apr 23, 2024
1 parent 8ceea6f commit 495b4b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func TestAccLinuxWebApp_completeUpdated(t *testing.T) {
Config: r.complete(data),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
check.That(data.ResourceName).Key("site_config.0.always_on").HasValue("true"),
),
},
data.ImportStep("site_credential.0.password"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ func TestAccLinuxWebAppSlot_completeUpdate(t *testing.T) {
Config: r.complete(data),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
check.That(data.ResourceName).Key("site_config.0.always_on").HasValue("true"),
),
},
data.ImportStep("site_credential.0.password"),
Expand Down

0 comments on commit 495b4b1

Please sign in to comment.