Add GetAllOrdersByAccountID to MockDB

This commit is contained in:
Herman Slatman 2024-01-08 21:44:10 +01:00
parent 8888262e45
commit 0b68e1bbcf
No known key found for this signature in database
GPG Key ID: F4D8A44EA0A75A4F

View File

@ -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")
}