Two Hidden Test Cases failing

com.crio.qeats.controller.RestaurantControllerDebugModuleHiddenTest1 > hiddenTest2() FAILED
org.opentest4j.AssertionFailedError at

com.crio.qeats.controller.RestaurantControllerDebugModuleHiddenTest2 > hiddenTest1() FAILED
java.lang.RuntimeException at

App is working fine. All the remaining test cases are passing.

hello @shreyas
please delete the solution you shared in the last line.

Now coming back to your issue,
since you are getting the name in all std english letters that means that obviously their is nothing wrong with your calling and changing.
So what are the sectors remained that might play a role in the whole name fetching process.
These are the 2example sectors you may have error.

  1. is your function which you are using works in every use case?

    2 maybe the change of letters is expected from some other file.

think about other sector as well to look and research about MVC pattern.

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.