修改两个战斗测试用例报错

This commit is contained in:
liangtongchuan
2022-05-21 20:23:45 +08:00
parent f4a27f9a6e
commit 5f423d6667
2 changed files with 2 additions and 2 deletions

View File

@@ -480,7 +480,7 @@ describe('战斗测试', function () {
pinusClient.request('battle.towerBattleHandler.resetLv', { towerLv }, (res) => {
checkSuccessResponse(res);
expect(res.data.roleId).to.be.a('string');
expect(res.data.lv).to.be.a('number');
expect(res.data.curLv).to.be.a('number');
expect(res.data.heroes).to.be.an('array');
res.data.heroes.forEach(hero => {
expect(hero).to.be.a('number');

View File

@@ -47,7 +47,7 @@ describe('寻宝创建队伍', function() {
let roleInfoT;
const createTeamParms = {blueprtId: 33001, pub: true, ceLimit: 0};
const searchTeamParms = {lv: [1], magicWord: DEBUG_MAGIC_WORD};
const searchTeamParms = {lv: [0], magicWord: DEBUG_MAGIC_WORD};
beforeEach(function(done) {
const c = new Client();