Skip to content

Commit

Permalink
Fixed test randomness
Browse files Browse the repository at this point in the history
  • Loading branch information
zli82016 committed Mar 25, 2024
1 parent 76d8408 commit 380664a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,6 @@ func TestAccFirebaseAppCheckServiceConfig_firebaseAppCheckServiceConfigUpdate(t
PreCheck: func() { acctest.AccTestPreCheck(t) },
ProtoV5ProviderFactories: acctest.ProtoV5ProviderBetaFactories(t),
CheckDestroy: testAccCheckFirebaseAppCheckServiceConfigDestroyProducer(t),
ExternalProviders: map[string]resource.ExternalProvider{
"random": {},
"time": {},
},
Steps: []resource.TestStep{
{
Config: testAccFirebaseAppCheckServiceConfig_firebaseAppCheckServiceConfigUpdate(context, "UNENFORCED"),
Expand Down Expand Up @@ -86,22 +82,26 @@ resource "google_project_service" "database" {
project = google_project.default.project_id
service = "firebasedatabase.googleapis.com"
disable_on_destroy = false
depends_on = [
google_project_service.firebase,
]
}

resource "google_project_service" "appcheck" {
provider = google-beta
project = google_project.default.project_id
service = "firebaseappcheck.googleapis.com"
disable_on_destroy = false
depends_on = [
google_project_service.database,
]
}

resource "google_firebase_project" "default" {
provider = google-beta
project = google_project.default.project_id

depends_on = [
google_project_service.firebase,
google_project_service.database,
google_project_service.appcheck,
]
}
Expand Down

0 comments on commit 380664a

Please sign in to comment.