remove System properties from unit tests

This commit is contained in:
azhwani 2020-06-10 00:01:44 +01:00
parent 7d7662a352
commit a14f5ad897
1 changed files with 0 additions and 1 deletions

View File

@ -21,7 +21,6 @@ public class SimpleJNDIUnitTest {
@Test
public void whenMockJndiDataSource_thenReturnJndiDataSource() throws Exception {
String dsString = "org.h2.Driver::::jdbc:jdbc:h2:mem:testdb::::sa";
Context envContext = (Context) this.initContext.lookup("java:/comp/env");
DataSource ds = (DataSource) envContext.lookup("datasource/ds");