(artifactDigest string, attestationsResp []*api.Attestation)
| 24 | } |
| 25 | |
| 26 | func OnCreateMetadataFileFailure(artifactDigest string, attestationsResp []*api.Attestation) (string, error) { |
| 27 | return "", fmt.Errorf("failed to create trusted metadata file") |
| 28 | } |
| 29 | |
| 30 | func TestCreateJSONLinesFilePath(t *testing.T) { |
| 31 | tempDir := t.TempDir() |