mirror of
https://github.com/smallstep/certificates.git
synced 2024-11-15 18:12:59 +00:00
Add GetAllOrdersByAccountID
to MockDB
This commit is contained in:
parent
8888262e45
commit
0b68e1bbcf
@ -405,3 +405,8 @@ func (m *MockDB) GetDpop(ctx context.Context, orderId string) (map[string]interf
|
||||
func (m *MockDB) CreateDpop(ctx context.Context, orderId string, dpop map[string]interface{}) error {
|
||||
return errors.New("not implemented")
|
||||
}
|
||||
|
||||
// GetAllOrdersByAccountID returns a list of any order IDs owned by the account.
|
||||
func (m *MockDB) GetAllOrdersByAccountID(ctx context.Context, accID string) ([]string, error) {
|
||||
return nil, errors.New("not implemented")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user