Skip to content

Commit

Permalink
Tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoblurie29 committed Apr 7, 2024
1 parent 8398ee6 commit 6dc80c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/User.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ after(done => {
});

// Test case
describe('POST test/bodyParameterExample', () => {
describe('POST test/user', () => {
it('should return a 200 response if a user exists', done => {
chai
.request(app)
.post('/user/')
.send({
firstName: 'Boba',
lastName: 'Fett',
birthdate: '2000-12-11T19:33:38+0000',
birthdate: '12-11-2000',
})
.end((err, res) => {
expect(res).to.have.status(200);
Expand All @@ -50,7 +50,7 @@ describe('POST test/bodyParameterExample', () => {
.send({
firstName: 'Test',
lastName: 'Person',
birthdate: '2000-12-11T19:33:38+0000',
birthdate: '12-11-2000',
})
.end((err, res) => {
expect(res).to.have.status(400);
Expand Down

0 comments on commit 6dc80c4

Please sign in to comment.