HHH-10944 - org.hibernate.test.mappingexception.MappingExceptionTest#testNotFound failure

This commit is contained in:
Andrea Boriero 2016-07-11 12:52:21 +02:00 committed by Sanne Grinovero
parent ffa6212b40
commit f0fe332991
1 changed files with 4 additions and 0 deletions

View File

@ -159,6 +159,10 @@ public class MappingExceptionTest extends BaseUnitTestCase {
assertEquals( inv.getType(), "URL" );
assertEquals( inv.getPath(), "file://nothere" );
}
catch (org.hibernate.boot.MappingException me) {
assertEquals( me.getOrigin().getType(), SourceType.URL );
assertEquals( me.getOrigin().getName(), "file://nothere" );
}
}
@Test