Ticket: Create/Update Comments TestCase Problem

All problems are in UpdateCreateCommentTest.java

  • testUserAddCommentWithNoID()

The testUserAddCommentWithNoID() test case expect an IncorrectDaoOperation Exception, I think it’s not nessesary for adding new comment.

  • removeFakeComment()

Bugs cause test comments not removed.
Shoud be:

private void removeFakeComment(String id) {
    commentsCollection().deleteOne(Filters.eq("_id", new ObjectId(id)));
}