fix: align signature review and admin operations
This commit is contained in:
@@ -53,6 +53,7 @@ function createPrismaMock() {
|
||||
status: 'active',
|
||||
group: {
|
||||
id: 'group-1',
|
||||
name: '默认通道组',
|
||||
carrier: 'mobile',
|
||||
status: 'active',
|
||||
retryEnabled: true,
|
||||
@@ -1753,7 +1754,13 @@ describe('SendChainService', () => {
|
||||
);
|
||||
|
||||
expect(prisma.smsSubmitRecord.create).toHaveBeenCalledWith({
|
||||
data: expect.objectContaining({ messageRecordId: 'record-1', channelId: 'channel-1', submitStatus: 'queued' }),
|
||||
data: expect.objectContaining({
|
||||
messageRecordId: 'record-1',
|
||||
channelId: 'channel-1',
|
||||
channelGroupId: 'group-1',
|
||||
channelGroupName: '默认通道组',
|
||||
submitStatus: 'queued',
|
||||
}),
|
||||
});
|
||||
expect(prisma.smsMessageRecord.update).toHaveBeenCalledWith({
|
||||
where: { id: 'record-1' },
|
||||
|
||||
Reference in New Issue
Block a user