From 277311d72895ad9f432eb4f6c64e714067d91671 Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Thu, 19 Dec 2024 10:25:51 +0800 Subject: [PATCH] fix test Signed-off-by: Patrick Zheng --- cmd/notation/verify_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/notation/verify_test.go b/cmd/notation/verify_test.go index b6879643..98464f1c 100644 --- a/cmd/notation/verify_test.go +++ b/cmd/notation/verify_test.go @@ -120,10 +120,10 @@ func TestGetVerifier(t *testing.T) { }) } -func dummyOCIPolicyDocument() trustpolicy.OCIDocument { - return trustpolicy.OCIDocument{ +func dummyOCIPolicyDocument() trustpolicy.Document { + return trustpolicy.Document{ Version: "1.0", - TrustPolicies: []trustpolicy.OCITrustPolicy{ + TrustPolicies: []trustpolicy.TrustPolicy{ { Name: "test-statement-name", RegistryScopes: []string{"registry.acme-rockets.io/software/net-monitor"},