mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Fix a few more tests
This commit is contained in:
parent
558886e0ed
commit
18893525af
@ -252,7 +252,7 @@ public class DownloaderTests
|
|||||||
Assert.NotNull(parsed);
|
Assert.NotNull(parsed);
|
||||||
|
|
||||||
Assert.Equal(goodArchive.State.GetType(), parsed.GetType());
|
Assert.Equal(goodArchive.State.GetType(), parsed.GetType());
|
||||||
Assert.True(await _dispatcher.Verify(new Archive {State = parsed}, CancellationToken.None));
|
Assert.True(await _dispatcher.Verify(new Archive {State = parsed, Hash = goodArchive.Hash}, CancellationToken.None));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,10 +108,6 @@ public class DownloadDispatcher
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (a.Name.Contains("HorseReplacer"))
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
a = await MaybeProxy(a, token);
|
a = await MaybeProxy(a, token);
|
||||||
var downloader = Downloader(a);
|
var downloader = Downloader(a);
|
||||||
using var job = await _limiter.Begin($"Verifying {a.State.PrimaryKeyString}", -1, token);
|
using var job = await _limiter.Begin($"Verifying {a.State.PrimaryKeyString}", -1, token);
|
||||||
|
Loading…
Reference in New Issue
Block a user