Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Commit

Permalink
fix test config
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Gstoehl committed Dec 15, 2022
1 parent fbbf912 commit 4b4db33
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,13 @@ public class TestConfig extends WsBaseConfig {

@Autowired DataSource dataSource;

@Override
public DataSource dataSource() {
return dataSource;
}

@Bean
@Override
public Flyway flyway() {
public Flyway flyway(DataSource dataSource) {
final var flyway =
Flyway.configure()
.dataSource(dataSource)
Expand Down

0 comments on commit 4b4db33

Please sign in to comment.