Please see the following GIST: https://gist.github.com/nolandubeau/35ee3a9f0d25d5f4adba
I am refactoring a User handler to use a PRC variable for lookup instead of an RC variable, and am unsure how to refactor my UnitTest to set the PRC variable.
I believe that my issue lines with line 62 of UserTest.cfc. What needs to be changed here?
I also have a second issue with User.cfc where the following is throwing an error when running the test…:
I’m assuming that this is not mocked correctly?
Any help on the above two issues would be a great help.