Fixed "Filter Language" test.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
using JSMR.Domain.Enums;
|
using JSMR.Domain.Entities;
|
||||||
|
using JSMR.Domain.Enums;
|
||||||
using JSMR.Infrastructure.Data;
|
using JSMR.Infrastructure.Data;
|
||||||
using JSMR.Tests.Fixtures;
|
using JSMR.Tests.Fixtures;
|
||||||
|
|
||||||
@@ -22,6 +23,14 @@ public sealed class VoiceWorkSearchProviderFixture(MariaDbContainerFixture conta
|
|||||||
new() { VoiceWorkId = 5, CircleId = 2, ProductId = "RJ0000005", ProductName = "Super Comfy ASMR+", Description = "All your favorite sounds, plus more!", Status = (byte)VoiceWorkStatus.NewAndUpcoming, ExpectedDate = new(2025, 1, 11), PlannedReleaseDate = new(2025, 1, 13), WishlistCount = 10000, SubtitleLanguage = (byte)Language.English, Rating = (byte)AgeRating.R15, AIGeneration = (byte)AIGeneration.None }
|
new() { VoiceWorkId = 5, CircleId = 2, ProductId = "RJ0000005", ProductName = "Super Comfy ASMR+", Description = "All your favorite sounds, plus more!", Status = (byte)VoiceWorkStatus.NewAndUpcoming, ExpectedDate = new(2025, 1, 11), PlannedReleaseDate = new(2025, 1, 13), WishlistCount = 10000, SubtitleLanguage = (byte)Language.English, Rating = (byte)AgeRating.R15, AIGeneration = (byte)AIGeneration.None }
|
||||||
);
|
);
|
||||||
|
|
||||||
|
context.VoiceWorkSupportedLanguages.AddRange(
|
||||||
|
new() { VoiceWorkSupportedLanguageId = 1, VoiceWorkId = 1, Language = "JPN" },
|
||||||
|
new() { VoiceWorkSupportedLanguageId = 2, VoiceWorkId = 2, Language = "JPN" },
|
||||||
|
new() { VoiceWorkSupportedLanguageId = 3, VoiceWorkId = 3, Language = "JPN" },
|
||||||
|
new() { VoiceWorkSupportedLanguageId = 4, VoiceWorkId = 4, Language = "JPN" },
|
||||||
|
new() { VoiceWorkSupportedLanguageId = 5, VoiceWorkId = 5, Language = "ENG" }
|
||||||
|
);
|
||||||
|
|
||||||
context.Tags.AddRange(
|
context.Tags.AddRange(
|
||||||
new() { TagId = 1, Name = "ASMR" },
|
new() { TagId = 1, Name = "ASMR" },
|
||||||
new() { TagId = 2, Name = "OL" },
|
new() { TagId = 2, Name = "OL" },
|
||||||
|
|||||||
Reference in New Issue
Block a user