From 68f4349a4dd4feb3039049dd757428109eed7dc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damian=20B=C3=BCchel?= Date: Fri, 16 Apr 2021 19:05:46 +0200 Subject: [PATCH] Fixed URLs for request handler tests. --- .../Handlers/RequestHandlerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SafeExamBrowser.Browser.UnitTests/Handlers/RequestHandlerTests.cs b/SafeExamBrowser.Browser.UnitTests/Handlers/RequestHandlerTests.cs index 702a4a9f..45c9eae8 100644 --- a/SafeExamBrowser.Browser.UnitTests/Handlers/RequestHandlerTests.cs +++ b/SafeExamBrowser.Browser.UnitTests/Handlers/RequestHandlerTests.cs @@ -107,7 +107,7 @@ namespace SafeExamBrowser.Browser.UnitTests.Handlers { var eventFired = false; var request = new Mock(); - var url = "www.test.org"; + var url = "https://www.test.org"; filter.Setup(f => f.Process(It.Is(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(); - var url = "www.test.org"; + var url = "https://www.test.org"; filter.Setup(f => f.Process(It.Is(r => r.Url.Equals(url)))).Returns(FilterResult.Block); request.SetupGet(r => r.ResourceType).Returns(ResourceType.SubFrame);