chore: set cmpp port to 17890
This commit is contained in:
@@ -9,7 +9,7 @@ function createPrismaMock() {
|
||||
carrier: 'mobile',
|
||||
protocol: 'CMPP',
|
||||
gatewayHost: '127.0.0.1',
|
||||
gatewayPort: 7890,
|
||||
gatewayPort: 17890,
|
||||
enterpriseCode: 'EC',
|
||||
account: 'sp',
|
||||
passwordCipher: 'secret',
|
||||
@@ -108,7 +108,7 @@ describe('ChannelsService', () => {
|
||||
code: 'CMPP-A',
|
||||
name: '主通道',
|
||||
gatewayHost: '127.0.0.1',
|
||||
gatewayPort: 7890,
|
||||
gatewayPort: 17890,
|
||||
account: 'sp',
|
||||
passwordCipher: 'secret',
|
||||
srcId: '10690000',
|
||||
|
||||
@@ -44,7 +44,7 @@ function createPrismaMock() {
|
||||
findFirst: jest.fn().mockResolvedValue({
|
||||
id: 'channel-1',
|
||||
gatewayHost: '127.0.0.1',
|
||||
gatewayPort: 7890,
|
||||
gatewayPort: 17890,
|
||||
enterpriseCode: 'EC',
|
||||
account: 'sp',
|
||||
passwordCipher: 'cipher',
|
||||
@@ -95,7 +95,7 @@ describe('SmsConfigService', () => {
|
||||
applicationId: 'app-1',
|
||||
tenantName: '租户A',
|
||||
gatewayHost: '127.0.0.1',
|
||||
gatewayPort: 7890,
|
||||
gatewayPort: 17890,
|
||||
maxConnections: 2,
|
||||
}));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user