From 9776c5bdfebc5e3b29a3d2af5ea04f77c161c04f Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Tue, 30 Oct 2007 21:52:47 +0000 Subject: [PATCH] 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 --- .../apache/openjpa/enhance/TestRelationToUnlistedClass.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java index eeb5a4629..02cb60b53 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/enhance/TestRelationToUnlistedClass.java @@ -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")); } } } \ No newline at end of file