Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Katsute authored Dec 10, 2024
1 parent 35d950c commit 1e5bc92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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

View workflow job for this annotation

GitHub Actions / MyAnimeList CI [Client] (Java 8)

💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :

https://github.com/KatsuteDev/Mal4J/blob/1e5bc929a6b516aad7d3e799e91fbc2a045f31b8/./src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java#L149 org.opentest4j.TestAbortedException: Assumption failed: Test will fail when status is not hiatus at org.junit.jupiter.api.Assumptions.throwAssumptionFailed(Assumptions.java:316) at org.junit.jupiter.api.Assumptions.assumeTrue(Assumptions.java:115) at dev.katsute.mal4j.MangaTests.TestManga.testEnum(TestManga.java:149) at java.lang.reflect.Method.invoke(Method.java:498) at java.util.ArrayList.forEach(ArrayList.java:1259) at java.util.ArrayList.forEach(ArrayList.java:1259)

Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java

View workflow job for this annotation

GitHub Actions / MyAnimeList CI [Client] (Java 11)

💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :

https://github.com/KatsuteDev/Mal4J/blob/1e5bc929a6b516aad7d3e799e91fbc2a045f31b8/./src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java#L149 org.opentest4j.TestAbortedException: Assumption failed: Test will fail when status is not hiatus at org.junit.jupiter.api.Assumptions.throwAssumptionFailed(Assumptions.java:316) at org.junit.jupiter.api.Assumptions.assumeTrue(Assumptions.java:115) at dev.katsute.mal4j.MangaTests.TestManga.testEnum(TestManga.java:149) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)

Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java

View workflow job for this annotation

GitHub Actions / MyAnimeList CI [Client] (Java 17)

💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :

https://github.com/KatsuteDev/Mal4J/blob/1e5bc929a6b516aad7d3e799e91fbc2a045f31b8/./src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java#L149 org.opentest4j.TestAbortedException: Assumption failed: Test will fail when status is not hiatus at org.junit.jupiter.api.Assumptions.throwAssumptionFailed(Assumptions.java:316) at org.junit.jupiter.api.Assumptions.assumeTrue(Assumptions.java:115) at dev.katsute.mal4j.MangaTests.TestManga.testEnum(TestManga.java:149) at java.base/java.lang.reflect.Method.invoke(Method.java:569) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)

Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java

View workflow job for this annotation

GitHub Actions / MyAnimeList CI [Client] (Java 21)

💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :

https://github.com/KatsuteDev/Mal4J/blob/1e5bc929a6b516aad7d3e799e91fbc2a045f31b8/./src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java#L149 org.opentest4j.TestAbortedException: Assumption failed: Test will fail when status is not hiatus at org.junit.jupiter.api.Assumptions.throwAssumptionFailed(Assumptions.java:316) at org.junit.jupiter.api.Assumptions.assumeTrue(Assumptions.java:115) at dev.katsute.mal4j.MangaTests.TestManga.testEnum(TestManga.java:149) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)

Check notice on line 149 in src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java

View workflow job for this annotation

GitHub Actions / MyAnimeList CI [Client] (Java 23)

💤 dev/katsute/mal4j/MangaTests/TestManga testEnum :

https://github.com/KatsuteDev/Mal4J/blob/1e5bc929a6b516aad7d3e799e91fbc2a045f31b8/./src/test/java/dev/katsute/mal4j/MangaTests/TestManga.java#L149 org.opentest4j.TestAbortedException: Assumption failed: Test will fail when status is not hiatus at org.junit.jupiter.api.Assumptions.throwAssumptionFailed(Assumptions.java:316) at org.junit.jupiter.api.Assumptions.assumeTrue(Assumptions.java:115) at dev.katsute.mal4j.MangaTests.TestManga.testEnum(TestManga.java:149) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at java.base/java.util.ArrayList.forEach(ArrayList.java:1597) at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)

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
Expand Down

0 comments on commit 1e5bc92

Please sign in to comment.