DATAMONGO-1094 - Fixed tests.

Due to changed behaviour in Springframework 3.2.12, the order by which nested config classes are analysed has changed. Therefore we need to configure @EnableMongoRepositories annotation on SimpleConfigWithRepositories as well.
This commit is contained in:
Thomas Darimont
2014-11-26 10:03:04 +01:00
parent a18633f847
commit 05311ea118

View File

@@ -122,7 +122,7 @@ public class AuditingViaJavaConfigRepositoriesTests {
static interface AuditablePersonRepository extends MongoRepository<AuditablePerson, String> {}
@Configuration
@EnableMongoRepositories
@EnableMongoRepositories(basePackageClasses = AuditablePersonRepository.class, considerNestedRepositories = true)
@EnableMongoAuditing
static class SimpleConfigWithRepositories {