File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
QueueIT.KnownUserV3.SDK.Tests Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -799,6 +799,8 @@ public void ValidateRequestByIntegrationConfig_IgnoreAction()
799799 customerIntegration . Integrations = new IntegrationConfigModel [ ] { config } ;
800800 customerIntegration . Version = 3 ;
801801
802+ var httpContextMock = new HttpContextMock ( ) { MockRequest = new MockHttpRequest ( ) { } } ;
803+ KnownUser . _HttpContextBase = httpContextMock ;
802804 UserInQueueServiceMock mock = new UserInQueueServiceMock ( ) ;
803805 KnownUser . _UserInQueueService = ( mock ) ;
804806
@@ -838,6 +840,8 @@ public void ValidateRequestByIntegrationConfig_CancelAction()
838840 customerIntegration . Integrations = new IntegrationConfigModel [ ] { config } ;
839841 customerIntegration . Version = 3 ;
840842
843+ var httpContextMock = new HttpContextMock ( ) { MockRequest = new MockHttpRequest ( ) { } } ;
844+ KnownUser . _HttpContextBase = httpContextMock ;
841845 UserInQueueServiceMock mock = new UserInQueueServiceMock ( ) ;
842846 KnownUser . _UserInQueueService = ( mock ) ;
843847 // Act
You can’t perform that action at this time.
0 commit comments