Преглед изворни кода

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