refactor: 支付宝 providerKey 改为 alipay

This commit is contained in:
erio
2026-03-05 01:52:59 +08:00
parent 55756744a1
commit 8746f474d1
4 changed files with 9 additions and 9 deletions

View File

@@ -37,12 +37,12 @@ describe('AlipayProvider', () => {
});
describe('metadata', () => {
it('should have name "alipay-direct"', () => {
expect(provider.name).toBe('alipay-direct');
it('should have name "alipay"', () => {
expect(provider.name).toBe('alipay');
});
it('should have providerKey "alipaydirect"', () => {
expect(provider.providerKey).toBe('alipaydirect');
it('should have providerKey "alipay"', () => {
expect(provider.providerKey).toBe('alipay');
});
it('should support "alipay" payment type', () => {