Before the test was expecting an error while making the request but now the request is successful but it returns a 500 instead, this change will fix it
Before the test was expecting an error while making the request but now the request is successful but it returns a 500 instead, this change will fix it