Fixed scanning issue. Updated worker.
This commit is contained in:
@@ -32,9 +32,9 @@ public class DLSiteClientTests
|
||||
var logger = Substitute.For<ILogger<DLSiteClient>>();
|
||||
var client = new DLSiteClient(httpService, logger);
|
||||
|
||||
var result = await client.GetVoiceWorkDetailsAsync(["RJ01230163"], CancellationToken.None);
|
||||
var result = await client.GetVoiceWorkDetailsAsync(["RJ01230163", "RJ01536422"], CancellationToken.None);
|
||||
|
||||
result.Count.ShouldBe(1);
|
||||
result.Count.ShouldBe(2);
|
||||
|
||||
result.ShouldContainKey("RJ01230163");
|
||||
result["RJ01230163"].HasTrial.ShouldBeTrue();
|
||||
@@ -44,6 +44,9 @@ public class DLSiteClientTests
|
||||
result["RJ01230163"].SupportedLanguages.Select(x => x.Language).ShouldContain(Language.English);
|
||||
result["RJ01230163"].DownloadCount.ShouldBe(659);
|
||||
result["RJ01230163"].WishlistCount.ShouldBe(380);
|
||||
|
||||
// Testing this one for empty array of prices
|
||||
result.ShouldContainKey("RJ01536422");
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user