测试:修改一些令测试失败的问题

This commit is contained in:
luying
2021-04-30 11:28:47 +08:00
parent 12cc4fca13
commit 97aad71cfd
3 changed files with 6 additions and 9 deletions
+2 -1
View File
@@ -84,7 +84,8 @@ describe('寻宝创建队伍', function() {
pinusClient.on('onTeamJoin', (msg) => {
checkSuccessResponse(msg);
});
pinusClient.request('role.heroHandler.addItem', { id: createTeamParms.blueprtId, count: 1 }, res => {
pinusClient.request('role.heroHandler.addItem', { id: createTeamParms.blueprtId, count: 10 }, res => {
checkSuccessResponse(res);
pinusClient.request('battle.comBattleHandler.createTeam', createTeamParms, (res) => {
checkSuccessResponse(res);
expect(res.data.teamCode).to.be.a('string');