Skip to content

Commit

Permalink
HBX-2390: Create a JBoss Tools adaptation layer in Hibernate Tools
Browse files Browse the repository at this point in the history
  - Remove unpredictable test result in 'org.hibernate.tool.orm.jbt.wrp.TypeFactoryWrapperTest#testGetTypeFormats()'

Signed-off-by: Koen Aers <[email protected]>
  • Loading branch information
koentsje committed Jul 4, 2023
1 parent aea3080 commit 5074796
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public void testGetTypeFormats() {
assertEquals("42", typeFormats.get(TypeFactoryWrapper.INSTANCE.getLongType()));
assertEquals("a string", typeFormats.get(TypeFactoryWrapper.INSTANCE.getStringType()));
assertEquals("a text", typeFormats.get(TypeFactoryWrapper.INSTANCE.getTextType()));
assertEquals(12, typeFormats.get(TypeFactoryWrapper.INSTANCE.getTimeType()).length());
assertEquals(':', typeFormats.get(TypeFactoryWrapper.INSTANCE.getTimeType()).charAt(2));
assertEquals(
new SimpleDateFormat("yyyy-MM-dd").format(new Date()),
typeFormats.get(TypeFactoryWrapper.INSTANCE.getTimestampType()).substring(0, 10));
Expand Down

0 comments on commit 5074796

Please sign in to comment.