Fix API tests for POST user response (reflecting advanced user now)
parent
f6037a1913
commit
bac00dadfd
|
@ -93,8 +93,9 @@ describe('Users', () => {
|
|||
res.should.have.status(codes.created);
|
||||
res.body.should.be.a('object');
|
||||
res.body.should.have.property('username').eql(user.username);
|
||||
res.body.should.have.property('squadId').eql(null);
|
||||
res.body.should.have.property('rankLvl').eql(0);
|
||||
res.body.should.have.property('squad').eql(null);
|
||||
res.body.should.have.property('rank').property('level').eql(0);
|
||||
res.body.should.have.property('awards').eql([]);
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue