From 7899cd13231be4343d42b115e113db266cec783f Mon Sep 17 00:00:00 2001 From: Christian Schabesberger Date: Sun, 22 Oct 2017 21:44:24 +0200 Subject: [PATCH] fix Kisok spelling error --- .../java/org/schabi/newpipe/extractor/kiosk/KioskList.java | 2 +- .../extractor/services/youtube/YoutubeServiceTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"); } }