diff --git a/game-server/test/app.test.ts b/game-server/test/app.test.ts index 65c8ebd68..328a4fbc7 100644 --- a/game-server/test/app.test.ts +++ b/game-server/test/app.test.ts @@ -50,7 +50,7 @@ describe('test zyz login', function() { it('登录测试', function(done) { expect(1).equal(1); - pinusClient.request('connector.entryHandler.enter', {token:'jxrka4ocnzgcgc4pt2jhsikdgktzw9myon55hp34fxjql85yxr', serverId: 1} , (ret) => { + pinusClient.request('connector.entryHandler.enter', {token:'3dc788mrgqshmu8dawocuiftf4lpkjo8sah6p023rin7396n6o', serverId: 1} , (ret) => { // 消息回调 expect(ret).to.be.an('object'); expect(ret.code).equal(0); diff --git a/game-server/test/comBattle.test.ts b/game-server/test/comBattle.test.ts index 789a47473..8072c0692 100644 --- a/game-server/test/comBattle.test.ts +++ b/game-server/test/comBattle.test.ts @@ -13,7 +13,7 @@ describe('寻宝创建队伍', function() { var pinusClient; var roleInfo; - const loginParms = {token:'jxrka4ocnzgcgc4pt2jhsikdgktzw9myon55hp34fxjql85yxr', serverId: 1}; + const loginParms = {token:'3dc788mrgqshmu8dawocuiftf4lpkjo8sah6p023rin7396n6o', serverId: 1}; const createTeamParms = {blueprtId: 33001, pub: true, ceLimit: 0}; const searchTeamParms = {qualityArr: [1, 2, 3, 4, 5]}; @@ -44,10 +44,12 @@ describe('寻宝创建队伍', function() { port: port }, (data) => { // 连接成功执行函数 + console.log('gate连接成功'); // console.log('gate连接成功', data); // done(); pinusClient.request('connector.entryHandler.enter', loginParms, (ret) => { // 消息回调 + console.log('connector返回'); // console.log('connector返回', JSON.stringify(ret)); roleInfo = ret.role; done(); diff --git a/game-server/test/guild.test.ts b/game-server/test/guild.test.ts index 8d1dd3628..01ea71d36 100644 --- a/game-server/test/guild.test.ts +++ b/game-server/test/guild.test.ts @@ -41,11 +41,13 @@ describe('军团测试', function() { port: port }, (data) => { // 连接成功执行函数 - console.log('gate连接成功', data); + console.log('gate连接成功'); + // console.log('gate连接成功', data); // done(); - pinusClient.request('connector.entryHandler.enter', {token:'jxrka4ocnzgcgc4pt2jhsikdgktzw9myon55hp34fxjql85yxr', serverId: 1} , (ret) => { + pinusClient.request('connector.entryHandler.enter', {token:'3dc788mrgqshmu8dawocuiftf4lpkjo8sah6p023rin7396n6o', serverId: 1} , (ret) => { // 消息回调 - console.log('connector返回', JSON.stringify(ret)); + console.log('connector返回'); + // console.log('connector返回', JSON.stringify(ret)); roleInfo = ret.role; done(); });