update test

This commit is contained in:
bopol 2020-01-23 19:08:41 +01:00
parent a691d6d0fc
commit c790261eed
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ public class PeertubeStreamExtractorDefaultTest {
@Test
public void testGetUploadDate() throws ParsingException, ParseException {
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());
}