-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
import dev.katsute.mal4j.manga.RelatedManga; | ||
import dev.katsute.mal4j.manga.property.MangaPublishStatus; | ||
import dev.katsute.mal4j.manga.property.MangaType; | ||
import dev.katsute.mal4j.property.RelationType; | ||
import org.junit.jupiter.api.BeforeAll; | ||
import org.junit.jupiter.api.Test; | ||
import org.junit.jupiter.params.ParameterizedTest; | ||
|
@@ -148,7 +149,7 @@ final void testEnum(){ | |
assumeTrue(MangaPublishStatus.OnHiatus == mal.getManga(2).getStatus(), "Test will fail when status is not hiatus"); | ||
Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java GitHub Actions / MyAnimeList CI [Client] (Java 8)💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :
Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java GitHub Actions / MyAnimeList CI [Client] (Java 11)💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :
Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java GitHub Actions / MyAnimeList CI [Client] (Java 17)💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :
Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java GitHub Actions / MyAnimeList CI [Client] (Java 21)💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :
Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java GitHub Actions / MyAnimeList CI [Client] (Java 23)💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :
|
||
|
||
for(final RelatedManga relatedManga : mal.getManga(112589).getRelatedManga()) | ||
assertNotEquals(RelationType.Unknown, relatedAnime.getRelationType(), "Unknown type: " + relatedManga.getRawRelationType()); | ||
assertNotEquals(RelationType.Unknown, relatedManga.getRelationType(), "Unknown type: " + relatedManga.getRawRelationType()); | ||
} | ||
|
||
@Test | ||
|