Skip to content

Commit

Permalink
Drop DevToolsDataSourceAutoConfiguration
Browse files Browse the repository at this point in the history
Which breaks h2 tests.
  • Loading branch information
andreaceccanti committed Nov 1, 2021
1 parent 6c18f35 commit 59406e0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.springframework.boot.autoconfigure.h2.H2ConsoleAutoConfiguration;
import org.springframework.boot.autoconfigure.security.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.oauth2.OAuth2AutoConfiguration;
import org.springframework.boot.devtools.autoconfigure.DevToolsDataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
Expand Down Expand Up @@ -75,7 +76,7 @@
// @formatter:on

@EnableAutoConfiguration(exclude = {SecurityAutoConfiguration.class, OAuth2AutoConfiguration.class,
H2ConsoleAutoConfiguration.class})
H2ConsoleAutoConfiguration.class, DevToolsDataSourceAutoConfiguration.class})
public class IamLoginService {

public static void main(final String[] args) {
Expand Down

0 comments on commit 59406e0

Please sign in to comment.