测试:不再测试军团返回中已经去掉的字段

This commit is contained in:
liangtongchuan
2021-02-08 11:17:53 +08:00
parent 3ca6bfe43c
commit 5258f003c2

View File

@@ -119,7 +119,7 @@ describe('军团测试', function() {
expect(res.data.leader).to.have.deep.property('headHid').that.is.an('number');
expect(res.data.leader).to.have.deep.property('lv').that.is.an('number');
expect(res.data.leader).to.have.deep.property('ce').that.is.an('number');
expect(res.data.leader).to.have.deep.property('loginTime').that.is.an('number');
// expect(res.data.leader).to.have.deep.property('loginTime').that.is.an('number');
expect(res.data).to.have.deep.property('myInfo').that.is.an('object');
expect(res.data.myInfo).to.have.deep.property('honourWeekly').that.is.an('number');
@@ -173,7 +173,7 @@ describe('军团测试', function() {
expect(list).to.have.deep.property('sHid').that.is.a('number');
expect(list).to.have.deep.property('lv').that.is.a('number');
expect(list).to.have.deep.property('title').that.is.a('number');
expect(list).to.have.deep.property('loginTime').that.is.a('number');
// expect(list).to.have.deep.property('loginTime').that.is.a('number');
});
done();
});
@@ -198,7 +198,7 @@ describe('军团测试', function() {
expect(list).to.have.deep.property('sHid').that.is.a('number');
expect(list).to.have.deep.property('lv').that.is.a('number');
expect(list).to.have.deep.property('title').that.is.a('number');
expect(list).to.have.deep.property('loginTime').that.is.a('number');
// expect(list).to.have.deep.property('loginTime').that.is.a('number');
expect(list).to.have.deep.property('job').that.is.a('number');
// expect(list).to.have.deep.property('auth').that.is.a('number');
// expect(list).to.have.deep.property('honourWeekly').that.is.a('number');