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 ericayyliu committed Jul 26, 2023
1 parent bb34b0a commit 51e1805
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 51e1805

Please sign in to comment.