mirror of
https://github.com/TeamNewPipe/NewPipeExtractor.git
synced 2025-01-06 01:20:32 +05:30
update test
This commit is contained in:
parent
a691d6d0fc
commit
c790261eed
@ -91,7 +91,7 @@ public class PeertubeStreamExtractorDefaultTest {
|
|||||||
@Test
|
@Test
|
||||||
public void testGetUploadDate() throws ParsingException, ParseException {
|
public void testGetUploadDate() throws ParsingException, ParseException {
|
||||||
final Calendar instance = Calendar.getInstance();
|
final Calendar instance = Calendar.getInstance();
|
||||||
instance.setTime(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'").parse("2018-10-01T10:52:46.396Z"));
|
instance.setTime(new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.S'Z'").parse("2018-10-01T11:52:46.396Z"));
|
||||||
assertEquals(instance, requireNonNull(extractor.getUploadDate()).date());
|
assertEquals(instance, requireNonNull(extractor.getUploadDate()).date());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user