final version (#1867)

This commit is contained in:
Abhinab Kanrar
2017-05-18 11:38:17 +05:30
committed by Zeger Hendrikse
parent 3f22a70bb3
commit 74d4c4f72c
5 changed files with 360 additions and 357 deletions
@@ -2,19 +2,16 @@ package com.baeldung.hikaricp;
import java.util.List;
import org.junit.Ignore;
import org.junit.Test;
import java.sql.SQLException;
import static org.junit.Assert.assertEquals;
public class HikariCPUnitTest {
@Test
@Ignore
public void givenConnection_thenFetchDbData() throws SQLException {
List<Employee> employees = HikariCPDemo.fetchData();
assertEquals(4, employees.size());
}
@Test
public void givenConnection_thenFetchDbData() {
List<Employee> employees = HikariCPDemo.fetchData();
assertEquals(4, employees.size());
}
}