Skip to content

Commit 4074b56

Browse files
garyrussellartembilan
authored andcommitted
Fix test
1 parent 8ca2cbb commit 4074b56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-rabbit/src/test/java/org/springframework/amqp/rabbit/annotation/RabbitListenerAnnotationBeanPostProcessorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public void invalidValueInAnnotationTestBean() {
197197
}
198198
catch (BeanCreationException e) {
199199
assertThat(e.getCause()).isInstanceOf(IllegalArgumentException.class);
200-
assertThat(e.getMessage()).contains("@RabbitListener.queuesToDeclare can't resolve")
200+
assertThat(e.getMessage()).contains("@RabbitListener.queues can't resolve")
201201
.contains("as a String[] or a String or a Queue");
202202
}
203203
}

0 commit comments

Comments
 (0)