Skip to content

Commit 2695435

Browse files
committed
Upgrade to Smack 4.4.7
* Fix `ChatMessageInboundChannelAdapterParserTests` according to new Smack requirements
1 parent 0630709 commit 2695435

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ext {
100100
romeToolsVersion = '2.1.0'
101101
rsocketVersion = '1.1.4'
102102
servletApiVersion = '6.0.0'
103-
smackVersion = '4.4.6'
103+
smackVersion = '4.4.7'
104104
springAmqpVersion = '3.0.10'
105105
springDataVersion = '2023.0.9'
106106
springGraphqlVersion = '1.2.4'

spring-integration-xmpp/src/test/java/org/springframework/integration/xmpp/config/ChatMessageInboundChannelAdapterParserTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-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.
@@ -82,7 +82,7 @@ public void testInboundAdapter() {
8282
assertThat(TestUtils.getPropertyValue(adapter, "payloadExpression.expression")).isEqualTo("#root");
8383
adapter.start();
8484
Map asyncRecvListeners = TestUtils.getPropertyValue(connection, "asyncRecvListeners", Map.class);
85-
assertThat(asyncRecvListeners.size()).isEqualTo(6);
85+
assertThat(asyncRecvListeners.size()).isEqualTo(5);
8686
Object lastListener = asyncRecvListeners.values().stream().reduce((first, second) -> second).get();
8787
assertThat(TestUtils.getPropertyValue(lastListener, "packetFilter")).isSameAs(stanzaFilter);
8888
adapter.stop();

0 commit comments

Comments
 (0)