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:
Steve Ebersole 2009-06-29 11:51:09 +00:00
parent d30b61a305
commit 7271546f4e
1 changed files with 1 additions and 0 deletions

View File

@ -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");