瀏覽代碼

Add `GetAllOrdersByAccountID` to `MockDB`

Herman Slatman 2 年之前
父節點
當前提交
0b68e1bbcf
共有 1 個文件被更改,包括 5 次插入 和 0 次删除
  1. 5 0
      acme/db.go

+ 5 - 0
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")
+}