What
ValidateEmailExists currently assume a string response message from the email validation endpoint.
Change the test to assume a ResponseDTO response with message property.
How
In assertion of response message, change message to message["message"].
What
ValidateEmailExists currently assume a string response message from the email validation endpoint.
Change the test to assume a ResponseDTO response with message property.
How
In assertion of response message, change
messagetomessage["message"].