From 00e5341c4e80fa5c950da0acab8540fa24fa246c Mon Sep 17 00:00:00 2001 From: Anders Eknert Date: Tue, 17 Dec 2024 10:37:14 +0100 Subject: [PATCH] dev: Fix integration test that used old URL for capabilities (#1304) Signed-off-by: Anders Eknert --- internal/capabilities/capabilities_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/capabilities/capabilities_integration_test.go b/internal/capabilities/capabilities_integration_test.go index ec36b019..76fd56a4 100644 --- a/internal/capabilities/capabilities_integration_test.go +++ b/internal/capabilities/capabilities_integration_test.go @@ -18,7 +18,7 @@ func TestLookupFromURL(t *testing.T) { caps, err := Lookup( context.Background(), - "https://raw.githubusercontent.com/open-policy-agent/opa/main/capabilities/v0.55.0.json", + "https://raw.githubusercontent.com/open-policy-agent/opa/refs/heads/main/v1/capabilities/v0.55.0.json", ) if err != nil { t.Errorf("unexpected error from Lookup: %v", err)