aboutsummaryrefslogtreecommitdiff
path: root/src/test/java/com/juick/config/DataSourceAutoConfiguration.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/juick/config/DataSourceAutoConfiguration.java')
-rw-r--r--src/test/java/com/juick/config/DataSourceAutoConfiguration.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/java/com/juick/config/DataSourceAutoConfiguration.java b/src/test/java/com/juick/config/DataSourceAutoConfiguration.java
index b30de7fc..1b88d577 100644
--- a/src/test/java/com/juick/config/DataSourceAutoConfiguration.java
+++ b/src/test/java/com/juick/config/DataSourceAutoConfiguration.java
@@ -33,12 +33,13 @@ import javax.sql.DataSource;
public class DataSourceAutoConfiguration {
@Bean
- public MariaDB4jSpringService mariaDB4j() {
+ MariaDB4jSpringService mariaDB4j() {
return new MariaDB4jSpringService();
}
+
@Bean
@DependsOn("mariaDB4j")
- public DataSource dataSource(DataSourceProperties dataSourceProperties) {
+ DataSource dataSource(DataSourceProperties dataSourceProperties) {
return DataSourceBuilder.create()
.driverClassName(dataSourceProperties.getDriverClassName())
.url(dataSourceProperties.getUrl())
@@ -46,4 +47,4 @@ public class DataSourceAutoConfiguration {
.password(dataSourceProperties.getPassword())
.build();
}
-} \ No newline at end of file
+}