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()
799
799
customerIntegration . Integrations = new IntegrationConfigModel [ ] { config } ;
800
800
customerIntegration . Version = 3 ;
801
801
802
+ var httpContextMock = new HttpContextMock ( ) { MockRequest = new MockHttpRequest ( ) { } } ;
803
+ KnownUser . _HttpContextBase = httpContextMock ;
802
804
UserInQueueServiceMock mock = new UserInQueueServiceMock ( ) ;
803
805
KnownUser . _UserInQueueService = ( mock ) ;
804
806
@@ -838,6 +840,8 @@ public void ValidateRequestByIntegrationConfig_CancelAction()
838
840
customerIntegration . Integrations = new IntegrationConfigModel [ ] { config } ;
839
841
customerIntegration . Version = 3 ;
840
842
843
+ var httpContextMock = new HttpContextMock ( ) { MockRequest = new MockHttpRequest ( ) { } } ;
844
+ KnownUser . _HttpContextBase = httpContextMock ;
841
845
UserInQueueServiceMock mock = new UserInQueueServiceMock ( ) ;
842
846
KnownUser . _UserInQueueService = ( mock ) ;
843
847
// Act
You can’t perform that action at this time.
0 commit comments