Polishing

This commit is contained in:
Juergen Hoeller
2024-03-05 18:23:13 +01:00
parent ef0717935b
commit a0ae849856
10 changed files with 42 additions and 36 deletions

View File

@@ -288,8 +288,8 @@ class EnableTransactionManagementTests {
}
@Test
void gh24502AppliesTransactionOnlyOnAnnotatedInterface() {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(Gh24502ConfigA.class);
void gh24502AppliesTransactionFromAnnotatedInterface() {
AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(Gh24502Config.class);
Object bean = ctx.getBean("testBean");
CallCountingTransactionManager txManager = ctx.getBean(CallCountingTransactionManager.class);
@@ -590,7 +590,7 @@ class EnableTransactionManagementTests {
@Configuration
@EnableTransactionManagement
static class Gh24502ConfigA {
static class Gh24502Config {
@Bean
public MixedTransactionalTestService testBean() {