reordered services

This commit is contained in:
yausername 2019-03-23 19:12:26 +05:30
parent aabc65b57d
commit e4e6d44770
2 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@ public final class ServiceList {
public static final YoutubeService YouTube;
public static final SoundcloudService SoundCloud;
public static final PeertubeService PeerTube;
public static final MediaCCCService MediaCCC;
public static final PeertubeService PeerTube;
/**
* When creating a new service, put this service in the end of this list,
@ -48,8 +48,8 @@ public final class ServiceList {
Arrays.asList(
YouTube = new YoutubeService(0),
SoundCloud = new SoundcloudService(1),
PeerTube = new PeertubeService(2),
MediaCCC = new MediaCCCService(3)
MediaCCC = new MediaCCCService(2),
PeerTube = new PeertubeService(3)
));
/**

View File

@ -44,7 +44,7 @@ public class MediaCCCSearchExtractorEventsTest {
@Test
public void testServiceId() throws Exception {
assertEquals(3, extractor.getServiceId());
assertEquals(2, extractor.getServiceId());
}
@Test