Skip to content

Commit 7f2fee1

Browse files
committed
Adapt test to include MappingJackson2CborHttpMessageConverter
See spring-projects/spring-framework#32428
1 parent 6582fea commit 7f2fee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/http/HttpMessageConvertersTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2023 the original author or authors.
2+
* Copyright 2012-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -146,7 +146,7 @@ protected List<HttpMessageConverter<?>> postProcessPartConverters(
146146
}
147147
assertThat(converterClasses).containsExactly(ByteArrayHttpMessageConverter.class,
148148
StringHttpMessageConverter.class, ResourceHttpMessageConverter.class,
149-
MappingJackson2HttpMessageConverter.class);
149+
MappingJackson2HttpMessageConverter.class, MappingJackson2CborHttpMessageConverter.class);
150150
}
151151

152152
private List<HttpMessageConverter<?>> extractFormPartConverters(List<HttpMessageConverter<?>> converters) {

0 commit comments

Comments
 (0)