test data cleanup
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16961 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
d30b61a305
commit
7271546f4e
|
@ -1063,6 +1063,7 @@ public class ParentChildTest extends LegacyTestCase {
|
||||||
try {
|
try {
|
||||||
Simple dummy = (Simple) session.get( Simple.class, new Long(-1) );
|
Simple dummy = (Simple) session.get( Simple.class, new Long(-1) );
|
||||||
assertNotNull("Unable to locate entity Simple with id = -1", dummy);
|
assertNotNull("Unable to locate entity Simple with id = -1", dummy);
|
||||||
|
session.delete( dummy );
|
||||||
}
|
}
|
||||||
catch(ObjectNotFoundException onfe) {
|
catch(ObjectNotFoundException onfe) {
|
||||||
fail("Unable to locate entity Simple with id = -1");
|
fail("Unable to locate entity Simple with id = -1");
|
||||||
|
|
Loading…
Reference in New Issue