More updates.
This commit is contained in:
@@ -258,10 +258,10 @@ public class MangaDexMetadataTests
|
||||
sourceManga.Contributors.Length.ShouldBe(2);
|
||||
|
||||
sourceManga.Contributors[0].Name.ShouldBe("Norishiro-chan");
|
||||
sourceManga.Contributors[0].Role.ShouldBe(SourceMangaContributorRole.Author);
|
||||
sourceManga.Contributors[0].Role.ShouldBe(ContributorRole.Author);
|
||||
|
||||
sourceManga.Contributors[1].Name.ShouldBe("Sakana Uozimi");
|
||||
sourceManga.Contributors[1].Role.ShouldBe(SourceMangaContributorRole.Artist);
|
||||
sourceManga.Contributors[1].Role.ShouldBe(ContributorRole.Artist);
|
||||
|
||||
sourceManga.Chapters.Count.ShouldBe(3);
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using MangaReader.Core.Http;
|
||||
using MangaReader.Core.Common;
|
||||
using MangaReader.Core.Http;
|
||||
using MangaReader.Core.Metadata;
|
||||
using MangaReader.Core.Sources.MangaNato.Metadata;
|
||||
using MangaReader.Tests.Utilities;
|
||||
@@ -37,7 +38,7 @@ public class MangaNatoMetadataTests
|
||||
|
||||
SourceMangaContributor[] expectedContributors =
|
||||
[
|
||||
new() { Name = "Nagaoka Taichi", Role = SourceMangaContributorRole.Author }
|
||||
new() { Name = "Nagaoka Taichi", Role = ContributorRole.Author }
|
||||
];
|
||||
|
||||
manga.Contributors.ShouldBeEquivalentTo(expectedContributors);
|
||||
|
||||
Reference in New Issue
Block a user