aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/test/java/com/juick/configuration
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server/src/test/java/com/juick/configuration')
-rw-r--r--juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java b/juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java
index 14f91df8..4a74349f 100644
--- a/juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java
+++ b/juick-server/src/test/java/com/juick/configuration/RepositoryConfiguration.java
@@ -33,8 +33,8 @@ public class RepositoryConfiguration {
@Bean
public DriverManagerDataSource dataSource() {
DriverManagerDataSource dataSource = new DriverManagerDataSource();
- dataSource.setDriverClassName("com.mysql.jdbc.Driver");
- dataSource.setUrl("jdbc:mysql://localhost:33306/juick?autoReconnect=true&user=root");
+ dataSource.setDriverClassName("net.sf.log4jdbc.DriverSpy");
+ dataSource.setUrl("jdbc:log4jdbc:mysql://localhost:33306/juick?autoReconnect=true&user=root");
return dataSource;
}