|
|
@@ -42,7 +42,8 @@ describe('活动管理API集成测试', () => {
|
|
|
description: '这是一个测试去程活动',
|
|
|
type: ActivityType.DEPARTURE,
|
|
|
startDate: '2025-10-17T08:00:00.000Z',
|
|
|
- endDate: '2025-10-17T18:00:00.000Z'
|
|
|
+ endDate: '2025-10-17T18:00:00.000Z',
|
|
|
+ venueLocationId: 1
|
|
|
};
|
|
|
|
|
|
const response = await client.activities.$post({
|
|
|
@@ -74,7 +75,8 @@ describe('活动管理API集成测试', () => {
|
|
|
description: '这是一个测试返程活动',
|
|
|
type: ActivityType.RETURN,
|
|
|
startDate: '2025-10-17T16:00:00.000Z',
|
|
|
- endDate: '2025-10-17T20:00:00.000Z'
|
|
|
+ endDate: '2025-10-17T20:00:00.000Z',
|
|
|
+ venueLocationId: 1
|
|
|
};
|
|
|
|
|
|
const response = await client.activities.$post({
|
|
|
@@ -99,7 +101,8 @@ describe('活动管理API集成测试', () => {
|
|
|
description: '这是一个测试活动',
|
|
|
type: 'invalid_type' as any, // 无效类型
|
|
|
startDate: '2025-10-17T08:00:00.000Z',
|
|
|
- endDate: '2025-10-17T18:00:00.000Z'
|
|
|
+ endDate: '2025-10-17T18:00:00.000Z',
|
|
|
+ venueLocationId: 1
|
|
|
};
|
|
|
|
|
|
const response = await client.activities.$post({
|