Skip to content

Commit 816dde6

Browse files
Enabled additional binary auth tests in GA (#4820) (#3289)
This should be fine now that containeranalysis is GA. Signed-off-by: Modular Magician <[email protected]>
1 parent 611ee39 commit 816dde6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.changelog/4820.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_binaryauthorization_policy_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,11 @@ func TestAccBinaryAuthorizationPolicy_update(t *testing.T) {
154154
},
155155
})
156156
}
157+
157158
func testAccCheckBinaryAuthorizationPolicyDefault(t *testing.T, pid string) resource.TestCheckFunc {
158159
return func(s *terraform.State) error {
159160
config := googleProviderConfig(t)
160-
url := fmt.Sprintf("https://binaryauthorization.googleapis.com/v1beta1/projects/%s/policy", pid)
161+
url := fmt.Sprintf("https://binaryauthorization.googleapis.com/v1/projects/%s/policy", pid)
161162
pol, err := sendRequest(config, "GET", "", url, config.userAgent, nil)
162163
if err != nil {
163164
return err

0 commit comments

Comments
 (0)