Fix API tests for POST user response (reflecting advanced user now)

pull/1/head
Florian Hartwich 2017-05-17 00:04:45 +02:00
parent f6037a1913
commit bac00dadfd
1 changed files with 3 additions and 2 deletions

View File

@ -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();
});
});