Updated scanner/upsert logic.
This commit is contained in:
@@ -44,10 +44,17 @@ public class VoiceWorkScannerTests
|
||||
result[0].ProductId.ShouldBe("RJ00000001");
|
||||
result[0].ProductName.ShouldBe("Title of Product");
|
||||
result[0].Description.ShouldBe("Description of the product.");
|
||||
result[0].Maker.ShouldBe("The Maker");
|
||||
result[0].MakerId.ShouldBe("RG00001");
|
||||
result[0].Creators.ShouldBe(["Some Creator"]);
|
||||
result[0].Genres.ShouldBe(["Voice", "Trial version"]);
|
||||
result[0].Tags.ShouldBe(["Male Protagonist", "Gal", "Uniform", "Harem", "Big Breasts", "Tanned Skin / Suntan"]);
|
||||
result[0].Type.ShouldBe(DLSiteWorkType.Released);
|
||||
result[0].Downloads.ShouldBe(1000);
|
||||
|
||||
result[1].ExpectedDate.ShouldBe(new DateOnly(2025, 10, 11));
|
||||
result[1].SalesDate.ShouldBeNull();
|
||||
result[1].ProductId.ShouldBe("RJ00000002");
|
||||
result[1].Type.ShouldBe(DLSiteWorkType.Announced);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user