Skip to content

Commit

Permalink
Add azure-cs-sqlserver test (pulumi#1193)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkisk authored Mar 12, 2022
1 parent 8e565a9 commit 4fb1f14
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions misc/test/azure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ func TestAccAzureCsWebserver(t *testing.T) {
integration.ProgramTest(t, &test)
}

func TestAccAzureCsSqlServer(t *testing.T) {
test := getAzureBase(t).
With(integration.ProgramTestOptions{
Dir: path.Join(getCwd(t), "..", "..", "azure-cs-sqlserver"),
ExtraRuntimeValidation: func(t *testing.T, stack integration.RuntimeValidationStackInfo) {
assertAppServiceResult(t, stack.Outputs["serverName"], func(body string) bool {
return assert.Contains(t, body, "database.windows.net")
})
},
})
integration.ProgramTest(t, &test)
}

func TestAccAzureFsAppService(t *testing.T) {
test := getAzureBase(t).
With(integration.ProgramTestOptions{
Expand Down

0 comments on commit 4fb1f14

Please sign in to comment.