Skip to content

Commit 703ecef

Browse files
committed
Merge branch '3.3.x' into 3.4.x
Closes gh-44974
2 parents 7630c7c + d368767 commit 703ecef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/data/cassandra/CassandraRepositoriesAutoConfigurationTests.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -79,15 +79,15 @@ void doesNotTriggerDefaultRepositoryDetectionIfCustomized() {
7979
@Test
8080
void enablingReactiveRepositoriesDisablesImperativeRepositories() {
8181
this.contextRunner.withUserConfiguration(DefaultConfiguration.class)
82-
.withPropertyValues("spring.cassandra.repositories.type=reactive")
83-
.run((context) -> assertThat(context).doesNotHaveBean(CityCassandraRepository.class));
82+
.withPropertyValues("spring.data.cassandra.repositories.type=reactive")
83+
.run((context) -> assertThat(context).doesNotHaveBean(CityRepository.class));
8484
}
8585

8686
@Test
8787
void enablingNoRepositoriesDisablesImperativeRepositories() {
8888
this.contextRunner.withUserConfiguration(DefaultConfiguration.class)
89-
.withPropertyValues("spring.cassandra.repositories.type=none")
90-
.run((context) -> assertThat(context).doesNotHaveBean(CityCassandraRepository.class));
89+
.withPropertyValues("spring.data.cassandra.repositories.type=none")
90+
.run((context) -> assertThat(context).doesNotHaveBean(CityRepository.class));
9191
}
9292

9393
private ManagedTypes getManagedTypes(AssertableApplicationContext context) {

0 commit comments

Comments
 (0)