Move mock to test package. Add artifacts test

This commit is contained in:
James Carnegie
2024-07-09 10:14:20 +01:00
parent a605278749
commit 9c822317aa
5 changed files with 92 additions and 31 deletions

View File

@@ -38,7 +38,7 @@ func TestRegoEvaluator_Evaluate(t *testing.T) {
re := policy.NewRegoEvaluator(true)
defaultResolver := oci.MockResolver{
defaultResolver := test.MockResolver{
Envs: []*attestation.Envelope{loadAttestation(t, ExampleAttestation)},
}