Update Create Comment failing, cannot find the answer in additional discussions

Hello I tried updating the code and running the tests but I do not understand why they are not working, or what I might be missing
The creation section works and is validated ok

Update comment response code
response = db.comments.update_one(
{"_id": ObjectId(comment_id),“email”: user_email},
{ “$set”: {“text”: text, “date”: date}
})

Delete Code
response = db.comments.delete_one( { “_id”: ObjectId(comment_id),“email”:user_email } )

Create Update Test errors

mongodb+srv://m220student:m220password@mflix-qtupd.mongodb.net/test?retryWrites=true&w=majority
______________________________________________ test_delete_is_given ______________________________________________

client = <FlaskClient <Flask ‘mflix.factory’>>

@pytest.mark.create_update_comments
def test_delete_is_given(client):
    # we are mainly running this for cleanup to delete the comment
  result = delete_comment(comment['id'], test_user['email'])

tests/test_create_update_comments.py:65:


mflix/db.py:385: in delete_comment
response = db.comments.delete_one( { “_id”: ObjectId(comment_id),“email”:user_email } )
/usr/local/lib/python3.7/site-packages/bson/objectid.py:125: in init
self.__validate(oid)
/usr/local/lib/python3.7/site-packages/bson/objectid.py:221: in __validate
_raise_invalid_id(oid)


oid = ‘’

def _raise_invalid_id(oid):
    raise InvalidId(
        "%r is not a valid ObjectId, it must be a 12-byte input"
      " or a 24-character hex string" % oid)

E bson.errors.InvalidId: ‘’ is not a valid ObjectId, it must be a 12-byte input or a 24-character hex string

/usr/local/lib/python3.7/site-packages/bson/objectid.py:67: InvalidId
---------------------------------------------- Captured stdout call ----------------------------------------------
mongodb+srv://m220student:m220password@mflix-qtupd.mongodb.net/test?retryWrites=true&w=majority
============================================== 39 tests deselected ===============================================
==================================== 4 failed, 39 deselected in 0.60 seconds