Fix integration tests.

This commit is contained in:
Attila Uhrin 2022-03-21 17:43:35 +01:00
parent fd06322ba5
commit 79857f04ae
1 changed files with 2 additions and 0 deletions

View File

@ -2,8 +2,10 @@ package com.baeldung.mongodb.dbref;
import org.springframework.boot.SpringApplication; import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
@SpringBootApplication @SpringBootApplication
@EnableMongoRepositories(basePackages = { "com.baeldung" })
public class DbRefApplication { public class DbRefApplication {
public static void main(String... args) { public static void main(String... args) {