mirror of https://github.com/apache/openjpa.git
OPENJPA-930: fix test case error caused by
TestAttrOverridesXml git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@748296 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
75cf4c522f
commit
d22fc6ab7c
|
@ -57,10 +57,10 @@ public class TestXmlOverrideEntity extends SingleEMFTestCase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testOverriddenEntityName() {
|
public void testOverriddenEntityName() {
|
||||||
|
emf.createEntityManager().close();
|
||||||
ClassMetaData meta = JPAFacadeHelper.getMetaData(emf,
|
ClassMetaData meta = JPAFacadeHelper.getMetaData(emf,
|
||||||
XmlOverrideEntity.class);
|
XmlOverrideEntity.class);
|
||||||
assertEquals("XmlOverride", meta.getTypeAlias());
|
assertEquals("XmlOverride", meta.getTypeAlias());
|
||||||
emf.createEntityManager().close();
|
|
||||||
MetaDataRepository repo = emf.getConfiguration()
|
MetaDataRepository repo = emf.getConfiguration()
|
||||||
.getMetaDataRepositoryInstance();
|
.getMetaDataRepositoryInstance();
|
||||||
assertEquals(meta, repo.getMetaData("XmlOverride",
|
assertEquals(meta, repo.getMetaData("XmlOverride",
|
||||||
|
|
Loading…
Reference in New Issue