Fixed test case that depended on new error message.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@590484 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2007-10-30 21:52:47 +00:00
parent ac83668ffa
commit 9776c5bdfe
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ public class TestRelationToUnlistedClass
emf.createEntityManager().close();
fail("should not be able to initialize system");
} catch (Exception e) {
assertTrue(e.getMessage().startsWith("One or more of the types"));
assertTrue(e.getMessage().startsWith(
"The following classes were not specified"));
}
}
}