🐞 fix(test): 修改 accuse 接口测试中的参数类型

This commit is contained in:
liangtongchuan
2022-09-27 17:07:16 +08:00
parent 10a8215c89
commit e4a8b9a80c

View File

@@ -389,7 +389,7 @@ describe('聊天测试', function () {
});
it('举报消息', function (done) {
pinusClient.request('chat.chatHandler.accuse', { targetRoleId: roleInfoT.roleId, targetMsgCode: 'test', reason: "1" }, (res) => {
pinusClient.request('chat.chatHandler.accuse', { targetRoleId: roleInfoT.roleId, targetMsgCode: 'test', reason: 1 }, (res) => {
checkSuccessResponse(res);
expect(res.data).to.be.an('object');
expect(res.data.roleId).to.be.equal(roleInfo.roleId);