Skip to content

Commit 1b9a4d5

Browse files
izeyesnicoll
authored andcommitted
Polish CompressionConnectorCustomizerTests
Closes gh-16699
1 parent c9752f1 commit 1b9a4d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/embedded/tomcat/CompressionConnectorCustomizerTests.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ private void verifyHttp2Upgrade(Http2Protocol protocol) {
7777
minSize(protocol.getCompressionMinSize());
7878
mimeType(protocol.getCompressibleMimeTypes());
7979
excludedUserAgents(protocol.getNoCompressionUserAgents());
80-
excludedUserAgents(protocol.getNoCompressionUserAgents());
8180
}
8281

8382
private void compressionOn(String compression) {
@@ -89,7 +88,7 @@ private void minSize(int minSize) {
8988
}
9089

9190
private void mimeType(String[] mimeTypes) {
92-
assertThat(mimeTypes).isEqualTo(mimeTypes);
91+
assertThat(mimeTypes).isEqualTo(this.mimeTypes);
9392
}
9493

9594
private void excludedUserAgents(String combinedUserAgents) {

0 commit comments

Comments
 (0)