Skip to content

Commit 1130dc6

Browse files
committed
Fixed compilation error
1 parent 4d53bdd commit 1130dc6

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

‎libraries/src/test/java/com/baeldung/hikaricp/HikariCPTest.java‎

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,17 @@
44

55
import org.junit.Ignore;
66
import org.junit.Test;
7+
import java.sql.SQLException;
78

89
import static org.junit.Assert.assertEquals;
910

1011
public class HikariCPTest {
1112

12-
@Test
13-
@Ignore
14-
public void givenConnection_thenFetchDbData() {
15-
List<Employee> employees = HikariCPDemo.fetchData();
16-
assertEquals(4, employees.size());
17-
}
13+
@Test
14+
@Ignore
15+
public void givenConnection_thenFetchDbData() throws SQLException {
16+
List<Employee> employees = HikariCPDemo.fetchData();
17+
assertEquals(4, employees.size());
18+
}
1819

1920
}

0 commit comments

Comments
 (0)