diff --git a/src/Orchard.Tests.Modules/Warmup/WebDownloaderTests.cs b/src/Orchard.Tests.Modules/Warmup/WebDownloaderTests.cs index 013ede09820..648d11bcc37 100644 --- a/src/Orchard.Tests.Modules/Warmup/WebDownloaderTests.cs +++ b/src/Orchard.Tests.Modules/Warmup/WebDownloaderTests.cs @@ -1,4 +1,5 @@ -using System.Net; +using System; +using System.Net; using NUnit.Framework; using Orchard.Warmup.Services; @@ -20,7 +21,7 @@ public void ShouldReturnNullWhenUrlIsInvalid() { [Test] public void StatusCodeShouldBe404ForUnexistingResources() { - var download = _webDownloader.Download("http://orchardproject.net/yepyep"); + var download = _webDownloader.Download("https://orchardcore.net/" + Guid.NewGuid()); Assert.That(download, Is.Not.Null); Assert.That(download.StatusCode, Is.EqualTo(HttpStatusCode.NotFound)); Assert.That(download.Content, Is.Null); @@ -28,7 +29,7 @@ public void StatusCodeShouldBe404ForUnexistingResources() { [Test] public void StatusCodeShouldBe200ForValidRequests() { - var download = _webDownloader.Download("http://orchardproject.net/"); + var download = _webDownloader.Download("https://orchardcore.net/"); Assert.That(download, Is.Not.Null); Assert.That(download.StatusCode, Is.EqualTo(HttpStatusCode.OK)); Assert.That(download.Content, Is.Not.Empty);