diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/dbinitialization/DatabaseEnvironmentTest.java b/src/test/java/org/gcube/informationsystem/resourceregistry/dbinitialization/DatabaseEnvironmentTest.java index 8c84543..d61707b 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/dbinitialization/DatabaseEnvironmentTest.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/dbinitialization/DatabaseEnvironmentTest.java @@ -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); }