Fixed URLs for request handler tests.
This commit is contained in:
parent
2d1d3d9dde
commit
68f4349a4d
1 changed files with 2 additions and 2 deletions
|
@ -107,7 +107,7 @@ namespace SafeExamBrowser.Browser.UnitTests.Handlers
|
|||
{
|
||||
var eventFired = false;
|
||||
var request = new Mock<IRequest>();
|
||||
var url = "www.test.org";
|
||||
var url = "https://www.test.org";
|
||||
|
||||
filter.Setup(f => f.Process(It.Is<Request>(r => r.Url.Equals(url)))).Returns(FilterResult.Block);
|
||||
request.SetupGet(r => r.ResourceType).Returns(ResourceType.MainFrame);
|
||||
|
@ -140,7 +140,7 @@ namespace SafeExamBrowser.Browser.UnitTests.Handlers
|
|||
{
|
||||
var eventFired = false;
|
||||
var request = new Mock<IRequest>();
|
||||
var url = "www.test.org";
|
||||
var url = "https://www.test.org";
|
||||
|
||||
filter.Setup(f => f.Process(It.Is<Request>(r => r.Url.Equals(url)))).Returns(FilterResult.Block);
|
||||
request.SetupGet(r => r.ResourceType).Returns(ResourceType.SubFrame);
|
||||
|
|
Loading…
Reference in a new issue