From 6dc80c4e3f91031a4daabd5f20b184fe51b81247 Mon Sep 17 00:00:00 2001 From: jacoblurie29 Date: Sun, 7 Apr 2024 15:58:08 -0500 Subject: [PATCH] Tests fixed --- src/tests/User.tests.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/User.tests.ts b/src/tests/User.tests.ts index 3128bdc..b930073 100644 --- a/src/tests/User.tests.ts +++ b/src/tests/User.tests.ts @@ -27,7 +27,7 @@ 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) @@ -35,7 +35,7 @@ describe('POST test/bodyParameterExample', () => { .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); @@ -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);