mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2024-12-13 22:00:32 +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 org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.schabi.newpipe.extractor.ServiceList.YouTube;
|
||||
|
||||
/**
|
||||
@ -55,7 +56,8 @@ public class YoutubeTreindingKioskInfoTest {
|
||||
|
||||
@Test
|
||||
public void getId() {
|
||||
assertEquals(kioskInfo.getId(), "Trending");
|
||||
assertTrue(kioskInfo.getId().equals("Trending")
|
||||
|| kioskInfo.getId().equals("Trends"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user