测试:添加形象影响接口测试用例

This commit is contained in:
luying
2021-03-12 20:26:06 +08:00
parent 6a7a3eadca
commit fef762747f
6 changed files with 428 additions and 5 deletions

View File

@@ -70,6 +70,7 @@ describe('军团测试', function() {
expect(res.data).to.have.deep.property('leader').that.is.an('object');
expect(res.data.leader).to.have.deep.property('roleName').that.is.an('string');
expect(res.data.leader).to.have.deep.property('frame').that.is.an('number');
expect(res.data.leader).to.have.deep.property('spine').that.is.an('number');
expect(res.data.leader).to.have.deep.property('head').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');
@@ -101,6 +102,7 @@ describe('军团测试', function() {
expect(list).to.have.deep.property('roleName').that.is.a('string');
expect(list).to.have.deep.property('ce').that.is.a('number');
expect(list).to.have.deep.property('head').that.is.a('number');
expect(list).to.have.deep.property('spine').that.is.a('number');
expect(list).to.have.deep.property('frame').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');
@@ -120,6 +122,7 @@ describe('军团测试', function() {
expect(list).to.have.deep.property('roleName').that.is.a('string');
expect(list).to.have.deep.property('ce').that.is.a('number');
expect(list).to.have.deep.property('head').that.is.a('number');
expect(list).to.have.deep.property('spine').that.is.a('number');
expect(list).to.have.deep.property('frame').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');
@@ -143,6 +146,7 @@ describe('军团测试', function() {
expect(list).to.have.deep.property('roleName').that.is.a('string');
expect(list).to.have.deep.property('ce').that.is.a('number');
expect(list).to.have.deep.property('head').that.is.a('number');
expect(list).to.have.deep.property('spine').that.is.a('number');
expect(list).to.have.deep.property('frame').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');