diff --git a/game-server/test/chat.test.ts b/game-server/test/chat.test.ts index fef5c2895..d68c47c44 100644 --- a/game-server/test/chat.test.ts +++ b/game-server/test/chat.test.ts @@ -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);