Unit Testing ASP.Net MVC Action result with call to Server.UrlDecode -
We are trying to write unit tests in our ASP.NET MVC project.
Server.UrlDecode to call in some methods controller
This unit is called from the test when a redundant reference fails with the exception.
Does anyone have a solution for this?
Use the static HttpUtility class and its UrlDecode method.
HttpUtility.UrlDecode (mystring);
Comments
Post a Comment