aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/tests/ApiTests.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-01-15 13:03:04 +0300
committerGravatar Vitaly Takmazov2016-01-15 13:03:04 +0300
commitc59c665fcbd5a7a8926bfba6b368efe7f568e167 (patch)
tree4f50f5c23b1056f83b7078057bfc7ae67a6289df /src/test/java/com/juick/tests/ApiTests.java
parentd44d5be975b5196d7aa961e8fd3012f389626380 (diff)
fix tests
Diffstat (limited to 'src/test/java/com/juick/tests/ApiTests.java')
-rw-r--r--src/test/java/com/juick/tests/ApiTests.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/java/com/juick/tests/ApiTests.java b/src/test/java/com/juick/tests/ApiTests.java
index 01cdd4c5..f111ffc7 100644
--- a/src/test/java/com/juick/tests/ApiTests.java
+++ b/src/test/java/com/juick/tests/ApiTests.java
@@ -27,6 +27,7 @@ public class ApiTests {
dataSource.setUrl("jdbc:mysql://localhost/juick?autoReconnect=true&user="
+ conf.getProperty("mysql_username", "")
+ "&password=" + conf.getProperty("mysql_password", ""));
+ jdbc = new JdbcTemplate(dataSource);
} catch (IOException e) {
e.printStackTrace();
}