[Test] Fix bug
This commit is contained in:
parent
1fefe5eba4
commit
c4e517ab15
@ -28,6 +28,7 @@ describe('API', () => {
|
|||||||
};
|
};
|
||||||
chai.request(server)
|
chai.request(server)
|
||||||
.post('/signup')
|
.post('/signup')
|
||||||
|
.set('content-type', 'application/x-www-form-urlencoded')
|
||||||
.send(account)
|
.send(account)
|
||||||
.end((err, res) => {
|
.end((err, res) => {
|
||||||
res.should.have.status(200);
|
res.should.have.status(200);
|
||||||
|
Loading…
Reference in New Issue
Block a user