JtaAnnotationTransactionAspect configured by default (in aspectj mode)

Issue: SPR-16987
This commit is contained in:
Juergen Hoeller
2018-06-29 19:43:38 +02:00
parent d58c09b89f
commit 5b24040b5e
8 changed files with 115 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -120,7 +120,7 @@ public class EnableTransactionManagementTests {
"Do you actually have org.springframework.aspects on the classpath?");
}
catch (Exception ex) {
assertThat(ex.getMessage(), containsString("AspectJTransactionManagementConfiguration"));
assertThat(ex.getMessage(), containsString("AspectJJtaTransactionManagementConfiguration"));
}
}