Fixed compilation error

This commit is contained in:
Zeger Hendrikse 2017-05-15 20:56:14 +02:00
parent 4d53bdd90a
commit 1130dc6b1e
1 changed files with 7 additions and 6 deletions

View File

@ -4,16 +4,17 @@ import java.util.List;
import org.junit.Ignore; import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import java.sql.SQLException;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
public class HikariCPTest { public class HikariCPTest {
@Test @Test
@Ignore @Ignore
public void givenConnection_thenFetchDbData() { public void givenConnection_thenFetchDbData() throws SQLException {
List<Employee> employees = HikariCPDemo.fetchData(); List<Employee> employees = HikariCPDemo.fetchData();
assertEquals(4, employees.size()); assertEquals(4, employees.size());
} }
} }