Fixed compilation error
This commit is contained in:
		
							parent
							
								
									4d53bdd90a
								
							
						
					
					
						commit
						1130dc6b1e
					
				| @ -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()); | ||||||
| 	} |     } | ||||||
| 	 | 	 | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user