|
@@ -8,14 +8,14 @@ import { AreaEntityMt } from '@d8d/geo-areas-mt';
|
|
|
import { MerchantMt } from '@d8d/merchant-module-mt';
|
|
import { MerchantMt } from '@d8d/merchant-module-mt';
|
|
|
import { SupplierMt } from '@d8d/supplier-module-mt';
|
|
import { SupplierMt } from '@d8d/supplier-module-mt';
|
|
|
import { FileMt } from '@d8d/file-module-mt';
|
|
import { FileMt } from '@d8d/file-module-mt';
|
|
|
-import { GoodsMt } from '@d8d/goods-module-mt';
|
|
|
|
|
|
|
+import { GoodsMt, GoodsCategoryMt } from '@d8d/goods-module-mt';
|
|
|
import userOrderRoutes from '../../src/routes/user/orders.mt';
|
|
import userOrderRoutes from '../../src/routes/user/orders.mt';
|
|
|
import { OrderMt, OrderGoodsMt } from '../../src/entities';
|
|
import { OrderMt, OrderGoodsMt } from '../../src/entities';
|
|
|
import { OrdersTestFactory } from '../factories/orders-test-factory';
|
|
import { OrdersTestFactory } from '../factories/orders-test-factory';
|
|
|
|
|
|
|
|
// 设置集成测试钩子
|
|
// 设置集成测试钩子
|
|
|
setupIntegrationDatabaseHooksWithEntities([
|
|
setupIntegrationDatabaseHooksWithEntities([
|
|
|
- UserEntityMt, RoleMt, OrderMt, OrderGoodsMt, DeliveryAddressMt, MerchantMt, SupplierMt, FileMt, AreaEntityMt, GoodsMt
|
|
|
|
|
|
|
+ UserEntityMt, RoleMt, OrderMt, OrderGoodsMt, DeliveryAddressMt, MerchantMt, SupplierMt, FileMt, AreaEntityMt, GoodsMt, GoodsCategoryMt
|
|
|
])
|
|
])
|
|
|
|
|
|
|
|
describe('多租户用户订单管理API集成测试', () => {
|
|
describe('多租户用户订单管理API集成测试', () => {
|