Create update not working

Hey, folks, I have assigned all the fields for comment in the comment collection with the proper ObjectId() wrapped for movie_id and commentId but test not working please help

Please share the error you are seeing at the console for the unit-test you are getting.

Kanika

hey @Kanika thanks for addressing here is the o/p

the third test got passed however above two not.
I cannot get the logic .if I’m unable to post a comment how can I update a comment

Hi @Prashant_Rawal_71220,

Please check my reply here:

Kanika

thanks @Kanika ma’am its working now .now i understand the problem.
but the above one still persist

1 Like