diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java index 7c8170d75..d06631e3b 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestAutoDetachProperty.java @@ -30,7 +30,7 @@ public class TestAutoDetachProperty extends TestCase { private EntityManager em; private EntityManagerFactory emf; - protected void setUp() throws Exception { + public void setUp() throws Exception { // Don't modify system props, as we are trying to get as close as // possible to testing props in persistence.xml HashMap props = new HashMap(System.getProperties()); diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java index 4b07d2abe..e60e2d848 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/discriminator/TestDiscriminatorTypes.java @@ -27,7 +27,7 @@ import org.apache.openjpa.persistence.test.SingleEMFTestCase; public class TestDiscriminatorTypes extends SingleEMFTestCase { - protected void setUp() { + public void setUp() { super.setUp(CharAbstractEntity.class, CharLeafEntity.class, CharRootEntity.class, IntegerAbstractEntity.class, IntegerLeafEntity.class, IntegerRootEntity.class,