Kaynağa Gözat

Add `GetAllOrdersByAccountID` to `MockDB`

Herman Slatman 2 yıl önce
ebeveyn
işleme
0b68e1bbcf
1 değiştirilmiş dosya ile 5 ekleme ve 0 silme
  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 {
 func (m *MockDB) CreateDpop(ctx context.Context, orderId string, dpop map[string]interface{}) error {
 	return errors.New("not implemented")
 	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")
+}