Skip to content

Commit 261471e

Browse files
committed
remove invidiou.sh from tests
dead instance
1 parent eb3901a commit 261471e

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

extractor/src/test/java/org/schabi/newpipe/extractor/services/youtube/YoutubeCommentsExtractorTest.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ public class YoutubeCommentsExtractorTest {
2525

2626
private static final String urlYT = "https://www.youtube.com/watch?v=D00Au7k3i6o";
2727
private static final String urlInvidious = "https://invidio.us/watch?v=D00Au7k3i6o";
28-
private static final String urlInvidioush = "https://invidiou.sh/watch?v=D00Au7k3i6o";
2928
private static YoutubeCommentsExtractor extractorYT;
3029
private static YoutubeCommentsExtractor extractorInvidious;
31-
private static YoutubeCommentsExtractor extractorInvidioush;
3230

3331
@BeforeClass
3432
public static void setUp() throws Exception {
@@ -37,15 +35,12 @@ public static void setUp() throws Exception {
3735
.getCommentsExtractor(urlYT);
3836
extractorInvidious = (YoutubeCommentsExtractor) YouTube
3937
.getCommentsExtractor(urlInvidious);
40-
extractorInvidioush = (YoutubeCommentsExtractor) YouTube
41-
.getCommentsExtractor(urlInvidioush);
4238
}
4339

4440
@Test
4541
public void testGetComments() throws IOException, ExtractionException {
4642
assertTrue(getCommentsHelper(extractorYT));
4743
assertTrue(getCommentsHelper(extractorInvidious));
48-
assertTrue(getCommentsHelper(extractorInvidioush));
4944
}
5045

5146
private boolean getCommentsHelper(YoutubeCommentsExtractor extractor) throws IOException, ExtractionException {
@@ -65,7 +60,6 @@ private boolean getCommentsHelper(YoutubeCommentsExtractor extractor) throws IOE
6560
public void testGetCommentsFromCommentsInfo() throws IOException, ExtractionException {
6661
assertTrue(getCommentsFromCommentsInfoHelper(urlYT));
6762
assertTrue(getCommentsFromCommentsInfoHelper(urlInvidious));
68-
assertTrue(getCommentsFromCommentsInfoHelper(urlInvidioush));
6963
}
7064

7165
private boolean getCommentsFromCommentsInfoHelper(String url) throws IOException, ExtractionException {

0 commit comments

Comments
 (0)