Fix tests.

This commit is contained in:
Max Goedjen 2020-09-23 21:33:21 -07:00
parent bbae36a29c
commit 0e45884f0f
No known key found for this signature in database
GPG Key ID: E58C21DD77B9B8E8
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ extension Stub {
print("Public Key OpenSSH: \(OpenSSHKeyWriter().openSSHString(secret: secret))")
}
public func sign(data: Data, with secret: Secret) throws -> Data {
public func sign(data: Data, with secret: Secret, for provenance: SigningRequestProvenance) throws -> Data {
guard !shouldThrow else {
throw NSError()
}

View File

@ -35,7 +35,7 @@ extension Preview {
self.secrets.append(contentsOf: new)
}
func sign(data: Data, with secret: Preview.Secret) throws -> Data {
func sign(data: Data, with secret: Preview.Secret, for provenance: SigningRequestProvenance) throws -> Data {
return data
}