mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
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 void testLoadAfterNonExists() throws HibernateException, SQLException {
|
||||
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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user