From 1130dc6b1e22d47e766b46da27cb56f5f758ec17 Mon Sep 17 00:00:00 2001 From: Zeger Hendrikse Date: Mon, 15 May 2017 20:56:14 +0200 Subject: [PATCH] Fixed compilation error --- .../java/com/baeldung/hikaricp/HikariCPTest.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) 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()); + } }