Skip to content

Commit

Permalink
Fix #17388 (only run tests in beta) (#10120) (#17700)
Browse files Browse the repository at this point in the history
[upstream:44041dc299e47e3f5e99822485e70d8f321117ec]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician committed Mar 27, 2024
1 parent 2688ec3 commit 9d1df9f
Show file tree
Hide file tree
Showing 16 changed files with 33 additions and 908 deletions.
3 changes: 3 additions & 0 deletions .changelog/10120.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none
test only
```

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,61 +1,3 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
package firebaseappcheck_test

import (
"testing"

"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"

"github.com/hashicorp/terraform-provider-google/google/acctest"
"github.com/hashicorp/terraform-provider-google/google/envvar"
)

func TestAccFirebaseAppCheckAppAttestConfig_firebaseAppCheckAppAttestConfigUpdate(t *testing.T) {
t.Parallel()

context := map[string]interface{}{
"project_id": envvar.GetTestProjectFromEnv(),
"team_id": "9987654321",
"random_suffix": acctest.RandString(t, 10),
"token_ttl": "7200s",
}

acctest.VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories(t),
ExternalProviders: map[string]resource.ExternalProvider{
"random": {},
"time": {},
},
Steps: []resource.TestStep{
{
Config: testAccFirebaseAppCheckAppAttestConfig_firebaseAppCheckAppAttestConfigMinimalExample(context),
},
{
ResourceName: "google_firebase_app_check_app_attest_config.default",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"app_id"},
},
{
Config: testAccFirebaseAppCheckAppAttestConfig_firebaseAppCheckAppAttestConfigFullExample(context),
},
{
ResourceName: "google_firebase_app_check_app_attest_config.default",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"app_id"},
},
{
Config: testAccFirebaseAppCheckAppAttestConfig_firebaseAppCheckAppAttestConfigMinimalExample(context),
},
{
ResourceName: "google_firebase_app_check_app_attest_config.default",
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"app_id"},
},
},
})
}

This file was deleted.

0 comments on commit 9d1df9f

Please sign in to comment.