Skip to content

Commit d538c39

Browse files
committed
Fix Another Test with SF 6
1 parent 38103d6 commit d538c39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spring-rabbit/src/test/java/org/springframework/amqp/rabbit/listener/ContainerInitializationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public void testNoAdmin() {
6363
}
6464
catch (ApplicationContextException e) {
6565
assertThat(e.getCause().getCause()).isInstanceOf(IllegalStateException.class);
66-
assertThat(e.getMessage()).contains("When 'mismatchedQueuesFatal' is 'true', there must be "
66+
assertThat(e.getCause().getMessage()).contains("When 'mismatchedQueuesFatal' is 'true', there must be "
6767
+ "exactly one AmqpAdmin in the context or you must inject one into this container; found: 0");
6868
}
6969
}

0 commit comments

Comments
 (0)