You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be better just using System.Web.HttpContext-instance directly, since allocation of HttpContextWrapper does not seem to provide any value (Since there is TestInvolvingAspNetHttpContext)
The text was updated successfully, but these errors were encountered:
I attempted this, had many build errors, once those were resolved many unit tests fail since NSubstitute will not work on HttpContext, the methods are not virtual. Since HttpContextBase or HttpContextWrapper is not an HttpContext I am pondering how to leave NLog.Web using HttpContext directly but have NLog.Web.Tests use HttpContextBase, have not reached an answer yet.
It is silly that we have this code:
Would be better just using
System.Web.HttpContext
-instance directly, since allocation ofHttpContextWrapper
does not seem to provide any value (Since there isTestInvolvingAspNetHttpContext
)The text was updated successfully, but these errors were encountered: