Fix a few more tests

This commit is contained in:
Halgari 2022-10-06 17:03:17 -06:00
parent 558886e0ed
commit 18893525af
2 changed files with 1 additions and 5 deletions

View File

@ -252,7 +252,7 @@ public class DownloaderTests
Assert.NotNull(parsed);
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));
}
}

View File

@ -108,10 +108,6 @@ public class DownloadDispatcher
{
try
{
if (a.Name.Contains("HorseReplacer"))
{
}
a = await MaybeProxy(a, token);
var downloader = Downloader(a);
using var job = await _limiter.Begin($"Verifying {a.State.PrimaryKeyString}", -1, token);