diff --git a/src/WinSW.Tests/DownloadTests.cs b/src/WinSW.Tests/DownloadTests.cs index 880370e..c09f13d 100644 --- a/src/WinSW.Tests/DownloadTests.cs +++ b/src/WinSW.Tests/DownloadTests.cs @@ -211,7 +211,7 @@ namespace WinSW.Tests async (source, dest) => { var exception = await Assert.ThrowsAsync( - async () => await new Download(source, dest).PerformAsync()); + async () => await new Download(source, dest, true).PerformAsync()); Assert.Equal(WebExceptionStatus.ProtocolError, exception.Status); },