We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38103d6 commit d538c39Copy full SHA for d538c39
1 file changed
spring-rabbit/src/test/java/org/springframework/amqp/rabbit/listener/ContainerInitializationTests.java
@@ -63,7 +63,7 @@ public void testNoAdmin() {
63
}
64
catch (ApplicationContextException e) {
65
assertThat(e.getCause().getCause()).isInstanceOf(IllegalStateException.class);
66
- assertThat(e.getMessage()).contains("When 'mismatchedQueuesFatal' is 'true', there must be "
+ assertThat(e.getCause().getMessage()).contains("When 'mismatchedQueuesFatal' is 'true', there must be "
67
+ "exactly one AmqpAdmin in the context or you must inject one into this container; found: 0");
68
69
0 commit comments