We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e486d commit a5ba482Copy full SHA for a5ba482
1 file changed
src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeTreindingKioskInfoTest.java
@@ -30,6 +30,7 @@
30
31
import static junit.framework.TestCase.assertEquals;
32
import static org.junit.Assert.assertFalse;
33
+import static org.junit.Assert.assertTrue;
34
import static org.schabi.newpipe.extractor.ServiceList.YouTube;
35
36
/**
@@ -55,7 +56,8 @@ public void getStreams() {
55
56
57
@Test
58
public void getId() {
- assertEquals(kioskInfo.getId(), "Trending");
59
+ assertTrue(kioskInfo.getId().equals("Trending")
60
+ || kioskInfo.getId().equals("Trends"));
61
}
62
63
0 commit comments