Create/Update Comments test case error

Hi All,
Test cases are failing ‘create-update-comments’. I am putting 1st test case faliure description
here.

● Create/Update Comments › Can post a comment

expect(received).toEqual(expected)

Expected value to equal:
  "573a13b9f29313caabd4ddff"
Received:
  "5a9427658b0beebeb6975200"

Difference:

  Comparing two different types of values. Expected string but received object.

I’ad successfully passed previous “get-comments.test” test.
Can anyone please help…
Thanks,
Ashish

(post withdrawn by author, will be automatically deleted in 24 hours unless flagged)

Hey @Ashish_29479

Glad to hear you solved the lab. :+1: However as this was not an issue but an incorrect answer, I think you should deleted the post, as now you have posted the correct answer which is against forum guidelines.

I am also getting the same error, even for Delete comments also, test case passed, but Not getting the id in Status page. Please help.

Hey @Sagar_Santosh_39338

As you can read from my previous post this is not really an error, but more to do with your implementation not being fully complete.

You can look in the commentsDAO.js file under the deleteComment() for a hint on how to solve challenge.