[PeerTube] Update video used in age limit test (the previous was 404)

This commit is contained in:
Mauricio Colli 2020-03-01 10:22:49 -03:00
parent cfc278317d
commit 6aa4d59b91
No known key found for this signature in database
GPG Key ID: F200BFD6F29DDD85
1 changed files with 1 additions and 1 deletions

View File

@ -145,7 +145,7 @@ public class PeertubeStreamExtractorDefaultTest {
@Test
public void testGetAgeLimit() throws ExtractionException, IOException {
assertEquals(0, extractor.getAgeLimit());
PeertubeStreamExtractor ageLimit = (PeertubeStreamExtractor) PeerTube.getStreamExtractor("https://peertube.co.uk/videos/watch/6762bb04-cad5-407b-81ee-c18eac4715a7");
PeertubeStreamExtractor ageLimit = (PeertubeStreamExtractor) PeerTube.getStreamExtractor("https://peertube.co.uk/videos/watch/3c0da7fb-e4d9-442e-84e3-a8c47004ee28");
ageLimit.fetchPage();
assertEquals(18, ageLimit.getAgeLimit());
}