Skip to content

Commit c8e3a11

Browse files
Removed tags from update tests (#12984) (#9249)
[upstream:7025ae220bfa1b3e61f3d2e436eef31747e15e8f] Signed-off-by: Modular Magician <[email protected]>
1 parent 4826017 commit c8e3a11

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.changelog/12984.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/services/workflows/resource_workflows_workflow_test.go

+7-8
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
)
1616

1717
func TestAccWorkflowsWorkflow_Update(t *testing.T) {
18-
// Custom test written to test diffs
1918
t.Parallel()
2019

2120
workflowName := fmt.Sprintf("tf-test-acc-workflow-%d", acctest.RandInt(t))
@@ -46,7 +45,7 @@ resource "google_workflows_workflow" "example" {
4645
url = "https://timeapi.io/api/Time/current/zone?timeZone=Europe/Amsterdam"
4746
}
4847
deletion_protection = false
49-
tags = {
48+
labels = {
5049
env = "test"
5150
}
5251
source_contents = <<-EOF
@@ -85,14 +84,14 @@ func testAccWorkflowsWorkflow_Updated(name string) string {
8584
resource "google_workflows_workflow" "example" {
8685
name = "%s"
8786
region = "us-central1"
88-
description = "Magic"
89-
call_log_level = "LOG_ERRORS_ONLY"
87+
description = "Magic-updated"
88+
call_log_level = "LOG_ALL_CALLS"
9089
user_env_vars = {
91-
url = "https://timeapi.io/api/Time/current/zone?timeZone=Europe/Amsterdam"
90+
url = "https://timeapi.io/api/Time/current/zone?timeZone=Europe/London"
9291
}
9392
deletion_protection = false
94-
tags = {
95-
env = "test"
93+
labels = {
94+
env = "updated"
9695
}
9796
source_contents = <<-EOF
9897
# This is a sample workflow, feel free to replace it with your source code
@@ -110,7 +109,7 @@ resource "google_workflows_workflow" "example" {
110109
args:
111110
url: $${sys.get_env("url")}
112111
result: CurrentDateTime
113-
- readWikipedia:
112+
- readWikipediaUpdated:
114113
call: http.get
115114
args:
116115
url: https:/fi.wikipedia.org/w/api.php

0 commit comments

Comments
 (0)