Fixed test
This commit is contained in:
parent
0052e2a292
commit
723bb8dff2
|
@ -26,9 +26,8 @@ public class DatabaseEnvironmentTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testAlterDateTimeFormat() throws ResourceRegistryException {
|
||||
public void testDateTimeFormat() throws ResourceRegistryException {
|
||||
ODatabaseDocument oDatabaseDocument = ContextUtility.getAdminSecurityContext().getDatabaseDocument(PermissionMode.WRITER);
|
||||
DatabaseEnvironment.setDateTimeFormat(oDatabaseDocument);
|
||||
String dateTime = oDatabaseDocument.get(ATTRIBUTES.DATETIMEFORMAT).toString();
|
||||
Assert.assertTrue(dateTime.compareTo(Element.DATETIME_PATTERN)==0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue