Skip to content

Commit

Permalink
tests: update golden output for more replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Nov 5, 2024
1 parent 3b27bf3 commit f73cc28
Show file tree
Hide file tree
Showing 13 changed files with 68 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
},
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01"
Expand Down Expand Up @@ -198,7 +198,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
},
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01"
Expand Down Expand Up @@ -198,7 +198,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01",
Expand Down Expand Up @@ -1342,7 +1342,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
},
"name": "project-1-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "project-1-${uniqueId}"
Expand Down Expand Up @@ -1427,7 +1427,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "project-1-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "project-1-${uniqueId}",
Expand Down Expand Up @@ -1482,7 +1482,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "project-1-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "project-1-${uniqueId}",
Expand Down Expand Up @@ -1549,7 +1549,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
},
"name": "project-2-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "project-2-${uniqueId}"
Expand Down Expand Up @@ -1634,7 +1634,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "project-2-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "project-2-${uniqueId}",
Expand Down Expand Up @@ -1689,7 +1689,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "project-2-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "project-2-${uniqueId}",
Expand Down Expand Up @@ -2130,7 +2130,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "project-2-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "project-2-${uniqueId}",
Expand Down Expand Up @@ -2203,7 +2203,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "project-1-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "project-1-${uniqueId}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
"lifecycleState": "ACTIVE",
"name": "projects/${projectId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "${projectId}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
"lifecycleState": "ACTIVE",
"name": "projects/${projectId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "${projectId}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
"lifecycleState": "ACTIVE",
"name": "projects/${projectId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "${projectId}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
"lifecycleState": "ACTIVE",
"name": "projects/${projectId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "${projectId}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ X-Xss-Protection: 0

---

POST https://cloudbilling.googleapis.com/v1/billingAccounts/123456-777777-000001:testIamPermissions?alt=json&prettyPrint=false
POST https://cloudbilling.googleapis.com/v1/billingAccounts/${billingAccountID}:testIamPermissions?alt=json&prettyPrint=false
Content-Type: application/json
User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager

Expand Down Expand Up @@ -62,7 +62,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
},
"name": "mci-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "mci-${uniqueId}"
Expand Down Expand Up @@ -129,7 +129,7 @@ Content-Type: application/json
User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terraform-Plugin-SDK/2.10.1 terraform-provider-google-beta/kcc/controller-manager

{
"billingAccountName": "billingAccounts/123456-777777-000001"
"billingAccountName": "billingAccounts/${billingAccountID}"
}

200 OK
Expand All @@ -144,7 +144,7 @@ X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"billingAccountName": "billingAccounts/123456-777777-000001",
"billingAccountName": "billingAccounts/${billingAccountID}",
"billingEnabled": true,
"name": "projects/mci-${uniqueId}/billingInfo",
"projectId": "mci-${uniqueId}"
Expand All @@ -167,7 +167,7 @@ X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"billingAccountName": "billingAccounts/123456-777777-000001",
"billingAccountName": "billingAccounts/${billingAccountID}",
"billingEnabled": true,
"name": "projects/mci-${uniqueId}/billingInfo",
"projectId": "mci-${uniqueId}"
Expand Down Expand Up @@ -198,7 +198,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "mci-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "mci-${uniqueId}",
Expand All @@ -222,7 +222,7 @@ X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"billingAccountName": "billingAccounts/123456-777777-000001",
"billingAccountName": "billingAccounts/${billingAccountID}",
"billingEnabled": true,
"name": "projects/mci-${uniqueId}/billingInfo",
"projectId": "mci-${uniqueId}"
Expand Down Expand Up @@ -253,7 +253,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "mci-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "mci-${uniqueId}",
Expand All @@ -277,7 +277,7 @@ X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"billingAccountName": "billingAccounts/123456-777777-000001",
"billingAccountName": "billingAccounts/${billingAccountID}",
"billingEnabled": true,
"name": "projects/mci-${uniqueId}/billingInfo",
"projectId": "mci-${uniqueId}"
Expand Down Expand Up @@ -2881,7 +2881,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "mci-${uniqueId}",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "mci-${uniqueId}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
},
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01"
Expand Down Expand Up @@ -198,7 +198,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
},
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01"
Expand Down Expand Up @@ -198,7 +198,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ User-Agent: google-api-go-client/0.5 Terraform/ (+https://www.terraform.io) Terr
},
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01"
Expand Down Expand Up @@ -198,7 +198,7 @@ X-Xss-Protection: 0
"lifecycleState": "ACTIVE",
"name": "Dependent Project",
"parent": {
"id": "123450001",
"id": "${organizationID}",
"type": "organization"
},
"projectId": "example-project-01",
Expand Down
Loading

0 comments on commit f73cc28

Please sign in to comment.