feat(cost-center): 收敛第三方卡券商品与成本链路
This commit is contained in:
@@ -347,3 +347,16 @@ test('人工标准商品禁止绕过人工 SKU 配置手工创建', async () =>
|
||||
/人工 SKU 配置自动创建/,
|
||||
)
|
||||
})
|
||||
|
||||
test('第三方卡券商品禁止绕过卡券 SKU 配置手工创建', async () => {
|
||||
await assert.rejects(
|
||||
createAdminProduct(
|
||||
{
|
||||
canonicalSku: 'tpv:11月改名卡',
|
||||
canonicalName: '11月改名卡',
|
||||
},
|
||||
{} as never,
|
||||
),
|
||||
/卡券 SKU 配置自动创建/,
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user