Fix mockSignAuth
This commit is contained in:
parent
0e56932e76
commit
16fe07d4dc
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
|
||||
"github.com/pkg/errors"
|
||||
"github.com/smallstep/assert"
|
||||
"github.com/smallstep/certificates/authority"
|
||||
"github.com/smallstep/certificates/authority/provisioner"
|
||||
)
|
||||
|
||||
|
@ -283,6 +284,10 @@ func (m *mockSignAuth) LoadProvisionerByID(id string) (provisioner.Interface, er
|
|||
return m.ret1.(provisioner.Interface), m.err
|
||||
}
|
||||
|
||||
func (m *mockSignAuth) Revoke(context.Context, *authority.RevokeOptions) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func TestOrder_Finalize(t *testing.T) {
|
||||
type test struct {
|
||||
o *Order
|
||||
|
|
Loading…
Reference in a new issue