Arreglos travis

This commit is contained in:
Pablo Franco Sánchez 2021-03-25 17:13:21 +01:00
parent d6c31ae90d
commit d0d9084c79
2 changed files with 2 additions and 1 deletions

View file

@ -27,7 +27,7 @@ import org.springframework.security.crypto.password.PasswordEncoder;
@EnableWebSecurity @EnableWebSecurity
public class SecurityConfiguration extends WebSecurityConfigurerAdapter { public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
@Autowired(required = false) @Autowired
DataSource dataSource; DataSource dataSource;

View file

@ -5,6 +5,7 @@ spring.datasource.data=classpath*:db/${database}/data.sql
spring.h2.console.enabled=true spring.h2.console.enabled=true
spring.profiles.active=mysql spring.profiles.active=mysql
spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC} spring.datasource.url=${MYSQL_URL:jdbc:mysql://localhost/cheapy?serverTimezone=UTC}
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
# Web # Web
spring.thymeleaf.mode=HTML spring.thymeleaf.mode=HTML