From e4a8b9a80cd9a2fd555feb1f6dc5decb6d221f06 Mon Sep 17 00:00:00 2001 From: liangtongchuan Date: Tue, 27 Sep 2022 17:07:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(test):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=20accuse=20=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/test/chat.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);