From 7271546f4ee7816c0e830aa5136abe2cfd2de598 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Mon, 29 Jun 2009 11:51:09 +0000 Subject: [PATCH] test data cleanup git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@16961 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../src/test/java/org/hibernate/test/legacy/ParentChildTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java b/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java index 0a4d417a9c..9e63d90ff5 100644 --- a/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java +++ b/testsuite/src/test/java/org/hibernate/test/legacy/ParentChildTest.java @@ -1063,6 +1063,7 @@ public class ParentChildTest extends LegacyTestCase { try { Simple dummy = (Simple) session.get( Simple.class, new Long(-1) ); assertNotNull("Unable to locate entity Simple with id = -1", dummy); + session.delete( dummy ); } catch(ObjectNotFoundException onfe) { fail("Unable to locate entity Simple with id = -1");