Skip to content
Snippets Groups Projects
Commit 007750ad authored by Mounir Nayab's avatar Mounir Nayab Committed by Makhtar DIAGNE
Browse files

[TECH] Fix unit test for date conversion

parent 836858f2
No related branches found
No related tags found
1 merge request!1Feature/design/1
......@@ -6,6 +6,7 @@ import java.io.IOException;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.TimeZone;
import org.junit.Assert;
import org.junit.Test;
......@@ -38,6 +39,7 @@ public class VitamUIUtilsTest {
@Test
public void testConvertStringToDate() throws IOException {
TimeZone.setDefault(TimeZone.getTimeZone("Europe/Paris"));
Date date = VitamUIUtils.convertStringToDate("2020-01-01");
System.out.println(date);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment