LUI-45. Fixed code. Unable to write tests
Created by: bholagabbar
Pull request on the request of Wyclif Lumia.
Have a look at the ForgotPasswordFormControllerTest.java file where I try and execute the tests. The test fails and the error is:
Failed tests: shouldNotNotFailOnNotFoundUsernameTEST(org.openmrs.web.controller.ForgotPasswordFormControllerTest): expected:<[check]> but was:<[What is your grandfather's home town?]?
This means that the user is not being detected and a secret question is being randomly assigned. However, "bruno" is there in the test data. How do I overcome this?