Skip to content

Commit

Permalink
add tests for datasource
Browse files Browse the repository at this point in the history
  • Loading branch information
danaelhe committed Feb 20, 2024
1 parent 4f801ea commit 59cb510
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions digitalocean/app/datasource_app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ func TestAccDataSourceDigitalOceanApp_Basic(t *testing.T) {
"data.digitalocean_app.foobar", "spec.0.name", appName),
resource.TestCheckResourceAttrPair("digitalocean_app.foobar", "default_ingress",
"data.digitalocean_app.foobar", "default_ingress"),
resource.TestCheckResourceAttrSet(
"data.digitalocean_app.foobar", "project_id"),
resource.TestCheckResourceAttrPair("digitalocean_app.foobar", "live_url",
"data.digitalocean_app.foobar", "live_url"),
resource.TestCheckResourceAttrPair("digitalocean_app.foobar", "active_deployment_id",
Expand Down

0 comments on commit 59cb510

Please sign in to comment.