[SHL-154] Update DateCommand test.

This commit is contained in:
Daniel Cunha
2014-06-20 23:08:57 -03:00
committed by Eric Bottard
parent 66b3ba7d69
commit 5b8a07ed4b

View File

@@ -36,7 +36,7 @@ public class BuiltInCommandTests extends AbstractShellIntegrationTest {
CommandResult cr = getShell().executeCommand("date");
//Get result
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL,Locale.US);
DateFormat df = DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL, Locale.getDefault());
Date result = df.parse(cr.getResult().toString());
//Make assertions