Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
PRKKILLER committed Mar 27, 2021
1 parent dcfd74b commit 491e780
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Backend/test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ describe('Test register', () => {
it('It should create user data', (done) => {
chai.request(server)
.post('/user/register')
.send({ email: 'chinmay1@gmail.com', password: 'chinmay123', name: 'Chinmay' })
.send({ email: 'usr1@gmail.com', password: '123', name: 'usr1' })
.end((err, response) => {
response.should.have.status(201);
response.body.should.be.a('object');
response.body.should.have.property('user').property('email').eq('chinmay1@gmail.com');
response.body.should.have.property('user').property('email').eq('usr1@gmail.co');
done();
});
});
Expand Down

0 comments on commit 491e780

Please sign in to comment.