Skip to content

Commit

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

* Remove CheckDestroy function

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jun 21, 2023
1 parent 9c0831e commit a76563b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/8168.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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
2 changes: 1 addition & 1 deletion google/data_source_google_cloudbuild_trigger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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 a76563b

Please sign in to comment.