|
|
|
@ -97,7 +97,7 @@ class EnableTransactionManagementIntegrationTests { |
|
|
|
ctx.register(Config.class, AspectJTxConfig.class); |
|
|
|
ctx.register(Config.class, AspectJTxConfig.class); |
|
|
|
// this test is a bit fragile, but gets the job done, proving that an
|
|
|
|
// this test is a bit fragile, but gets the job done, proving that an
|
|
|
|
// attempt was made to look up the AJ aspect. It's due to classpath issues
|
|
|
|
// attempt was made to look up the AJ aspect. It's due to classpath issues
|
|
|
|
// in .integration-tests that it's not found.
|
|
|
|
// in integration-tests that it's not found.
|
|
|
|
assertThatException() |
|
|
|
assertThatException() |
|
|
|
.isThrownBy(ctx::refresh) |
|
|
|
.isThrownBy(ctx::refresh) |
|
|
|
.withMessageContaining("AspectJJtaTransactionManagementConfiguration"); |
|
|
|
.withMessageContaining("AspectJJtaTransactionManagementConfiguration"); |
|
|
|
|