diff --git a/src/main/java/org/schabi/newpipe/extractor/kiosk/KioskList.java b/src/main/java/org/schabi/newpipe/extractor/kiosk/KioskList.java index de34c3f95..da81af04d 100644 --- a/src/main/java/org/schabi/newpipe/extractor/kiosk/KioskList.java +++ b/src/main/java/org/schabi/newpipe/extractor/kiosk/KioskList.java @@ -82,7 +82,7 @@ public class KioskList { } } - public Set getAvailableKisoks() { + public Set getAvailableKiosks() { return kioskList.keySet(); } diff --git a/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeServiceTest.java b/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeServiceTest.java index 33fa788bf..8e29eee6f 100644 --- a/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeServiceTest.java +++ b/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeServiceTest.java @@ -48,11 +48,11 @@ public class YoutubeServiceTest { @Test public void testGetKioskAvailableKiosks() throws Exception { - assertFalse("No kiosk got returned", kioskList.getAvailableKisoks().isEmpty()); + assertFalse("No kiosk got returned", kioskList.getAvailableKiosks().isEmpty()); } @Test - public void testGetDefaultKisok() throws Exception { + public void testGetDefaultKiosk() throws Exception { assertEquals(kioskList.getDefaultKioskExtractor(null).getName(), "Trending"); } }