Skip to content

Commit

Permalink
Modify the CheckDestroy functions (GoogleCloudPlatform#8168)
Browse files Browse the repository at this point in the history
* Modify the CheckDestroy function for cloudbuild trigger tests

* Remove CheckDestroy function
  • Loading branch information
zli82016 authored and rainshen49 committed Jun 27, 2023
1 parent 79e70de commit 08ab9e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ func TestAccDataSourceAlloydbSupportedDatabaseFlags_basic(t *testing.T) {
VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
ProtoV5ProviderFactories: ProtoV5ProviderFactories(t),
CheckDestroy: testAccSqlDatabaseDestroyProducer(t),
Steps: []resource.TestStep{
{
Config: testAccDataSourceAlloydbSupportedDatabaseFlags_basic(context),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestAccDataSourceGoogleCloudBuildTrigger_basic(t *testing.T) {
VcrTest(t, resource.TestCase{
PreCheck: func() { acctest.AccTestPreCheck(t) },
ProtoV5ProviderFactories: ProtoV5ProviderFactories(t),
CheckDestroy: testAccCheckCloudRunServiceDestroyProducer(t),
CheckDestroy: testAccCheckCloudBuildTriggerDestroyProducer(t),
Steps: []resource.TestStep{
{
Config: testAccDataSourceGoogleCloudBuildTrigger_basic(context),
Expand Down

0 comments on commit 08ab9e4

Please sign in to comment.