I have a problem with the test case number 3
I can add an exercise to any user by posting form data userId(_id), description, duration, and optionally date to /api/exercise/add. If no date supplied it will use current date. App will return the user object with the exercise fields added.
and this my response when I add a new exercise
{
"userId": "5eee84cb507e891d4edebeaa",
"description": "test",
"duration": 45,
"date": "Sat Jun 20 2020",
"username": "fcc_test_15926898671"
}
my live code if you would test it out: link