mirror of https://github.com/apache/openjpa.git
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:
parent
ac83668ffa
commit
9776c5bdfe
|
@ -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"));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue