diff --git a/libraries/src/test/java/com/baeldung/hikaricp/HikariCPTest.java b/libraries/src/test/java/com/baeldung/hikaricp/HikariCPTest.java index 212d532c13..c4c563ca83 100644 --- a/libraries/src/test/java/com/baeldung/hikaricp/HikariCPTest.java +++ b/libraries/src/test/java/com/baeldung/hikaricp/HikariCPTest.java @@ -4,16 +4,17 @@ import java.util.List; import org.junit.Ignore; import org.junit.Test; +import java.sql.SQLException; import static org.junit.Assert.assertEquals; public class HikariCPTest { - @Test - @Ignore - public void givenConnection_thenFetchDbData() { - List employees = HikariCPDemo.fetchData(); - assertEquals(4, employees.size()); - } + @Test + @Ignore + public void givenConnection_thenFetchDbData() throws SQLException { + List employees = HikariCPDemo.fetchData(); + assertEquals(4, employees.size()); + } }