fix: close receipt delivery workflows
This commit is contained in:
@@ -61,6 +61,27 @@ describe('GatewayEventsController protocol logging', () => {
|
||||
status: 'success',
|
||||
messageId: 'MSG-1',
|
||||
})).toEqual({ accepted: true });
|
||||
expect(controller.protocolLog({
|
||||
protocol: 'cmpp',
|
||||
direction: 'platform_to_client',
|
||||
eventType: 'deliver_receipt',
|
||||
status: 'success',
|
||||
messageId: 'MSG-1',
|
||||
})).toEqual({ accepted: true });
|
||||
expect(controller.protocolLog({
|
||||
protocol: 'cmpp',
|
||||
direction: 'platform_to_client',
|
||||
eventType: 'deliver_uplink',
|
||||
status: 'success',
|
||||
messageId: 'MSG-1',
|
||||
})).toEqual({ accepted: true });
|
||||
expect(controller.protocolLog({
|
||||
protocol: 'cmpp',
|
||||
direction: 'client_to_platform',
|
||||
eventType: 'deliver_resp',
|
||||
status: 'success',
|
||||
messageId: 'MSG-1',
|
||||
})).toEqual({ accepted: true });
|
||||
});
|
||||
|
||||
it('enriches an enterprise Submit packet with identifiers returned by the real service', async () => {
|
||||
|
||||
Reference in New Issue
Block a user