From 0b68e1bbcf6abc64d5d5076d42ecce61dc57fb92 Mon Sep 17 00:00:00 2001 From: Herman Slatman Date: Mon, 8 Jan 2024 21:44:10 +0100 Subject: [PATCH] Add `GetAllOrdersByAccountID` to `MockDB` --- acme/db.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/acme/db.go b/acme/db.go index 9e08f4b1..b514ce2e 100644 --- a/acme/db.go +++ b/acme/db.go @@ -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") +}