Skip to content

Commit

Permalink
fix InvidiousInstanceTest
Browse files Browse the repository at this point in the history
  • Loading branch information
B0pol committed Jan 24, 2021
1 parent 498dee9 commit 70b266b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ public static void setUp() {
}

@Test
public void testInvidio_usIsValid() {
InvidiousInstance invidio_us = new InvidiousInstance("https://invidio.us");
assertTrue(invidio_us.isValid());
public void testInvidious_snopyta_IsValid() {
InvidiousInstance invidious = new InvidiousInstance("https://invidious.snopyta.org");
assertTrue(invidious.isValid());
}

@Test
public void testInvidio_usGetName() throws InvalidInstanceException {
InvidiousInstance invidious = new InvidiousInstance("https://invidio.us");
public void testInvidious_snopyta_GetName() throws InvalidInstanceException {
InvidiousInstance invidious = new InvidiousInstance("https://invidious.snopyta.org");
invidious.fetchInstanceMetaData();
assertEquals("invidious", invidious.getName());
}
Expand Down

0 comments on commit 70b266b

Please sign in to comment.