diff --git a/Imouto.BooruParser.Tests/Loaders/DanbooruLoaderTests.cs b/Imouto.BooruParser.Tests/Loaders/DanbooruLoaderTests.cs index bccb5fd..2f4a8bb 100644 --- a/Imouto.BooruParser.Tests/Loaders/DanbooruLoaderTests.cs +++ b/Imouto.BooruParser.Tests/Loaders/DanbooruLoaderTests.cs @@ -354,7 +354,7 @@ public async Task ShouldLoadChildrenFor5314036() var post = await loader.GetPostAsync(5314036); post.Tags.Count.Should().BeGreaterThan(30); - post.ChildrenIds.Count.Should().Be(1); + post.ChildrenIds.Count.Should().Be(2); post.ChildrenIds.First().Should().Be(new PostIdentity(5318896, "46dda085dc9c60dd4380ed7b4433aa41")); post.Parent.Should().BeNull(); } diff --git a/Imouto.BooruParser.Tests/Loaders/Fixtures/SankakuLoaderFixture.cs b/Imouto.BooruParser.Tests/Loaders/Fixtures/SankakuLoaderFixture.cs index 5d59f0a..ff19d9c 100644 --- a/Imouto.BooruParser.Tests/Loaders/Fixtures/SankakuLoaderFixture.cs +++ b/Imouto.BooruParser.Tests/Loaders/Fixtures/SankakuLoaderFixture.cs @@ -11,7 +11,7 @@ public class SankakuLoaderFixture private IBooruApiLoader? _withAuth; private IBooruApiLoader? _withoutAuth; private IBooruApiAccessor? _apiAccessor; - private readonly bool _enableCache = true; + private readonly bool _enableCache = false; private IFlurlClientFactory Factory => _enableCache ? new HardCachePerBaseUrlFlurlClientFactory() : new PerBaseUrlFlurlClientFactory(); diff --git a/Imouto.BooruParser.Tests/Loaders/Rule34LoaderTests.cs b/Imouto.BooruParser.Tests/Loaders/Rule34LoaderTests.cs index 19e0db5..aa3a8f3 100644 --- a/Imouto.BooruParser.Tests/Loaders/Rule34LoaderTests.cs +++ b/Imouto.BooruParser.Tests/Loaders/Rule34LoaderTests.cs @@ -26,7 +26,7 @@ public async Task ShouldReturnPost() post.Id.Id.Should().Be(8548333); post.Id.Md5Hash.Should().Be("42936037bc650b4d38bc9f6df355b0f1"); post.Notes.Should().BeEmpty(); - post.Tags.Should().HaveCount(99); + post.Tags.Should().HaveCount(100); foreach (var postTag in post.Tags) { @@ -65,7 +65,7 @@ public async Task ShouldReturnPostByMd5() post.Id.Id.Should().Be(8548333); post.Id.Md5Hash.Should().Be("42936037bc650b4d38bc9f6df355b0f1"); post.Notes.Should().BeEmpty(); - post.Tags.Should().HaveCount(99); + post.Tags.Should().HaveCount(100); foreach (var postTag in post.Tags) { diff --git a/Imouto.BooruParser.Tests/Loaders/YandereLoaderTests.cs b/Imouto.BooruParser.Tests/Loaders/YandereLoaderTests.cs index 2a6ab07..6e35a7a 100644 --- a/Imouto.BooruParser.Tests/Loaders/YandereLoaderTests.cs +++ b/Imouto.BooruParser.Tests/Loaders/YandereLoaderTests.cs @@ -225,7 +225,7 @@ public async Task ShouldGetTagHistoryFromIdToPresent() /// /// Bug with loading history after 4952686 /// - [Fact] + [Fact(Skip = "Too long history")] public async Task ShouldGetTagHistoryFrom4952686IdToPresent() { var loader = _loaderFixture.GetLoader();