mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-14 14:20:33 +05:30
fix kiosk id test for germany
This commit is contained in:
parent
18e486da30
commit
a5ba482871
@ -30,6 +30,7 @@ import org.schabi.newpipe.extractor.kiosk.KioskInfo;
|
|||||||
|
|
||||||
import static junit.framework.TestCase.assertEquals;
|
import static junit.framework.TestCase.assertEquals;
|
||||||
import static org.junit.Assert.assertFalse;
|
import static org.junit.Assert.assertFalse;
|
||||||
|
import static org.junit.Assert.assertTrue;
|
||||||
import static org.schabi.newpipe.extractor.ServiceList.YouTube;
|
import static org.schabi.newpipe.extractor.ServiceList.YouTube;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -55,7 +56,8 @@ public class YoutubeTreindingKioskInfoTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getId() {
|
public void getId() {
|
||||||
assertEquals(kioskInfo.getId(), "Trending");
|
assertTrue(kioskInfo.getId().equals("Trending")
|
||||||
|
|| kioskInfo.getId().equals("Trends"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user