Upgrade to Smack 4.4.7
* Fix `ChatMessageInboundChannelAdapterParserTests` according to new Smack requirements
This commit is contained in:
@@ -100,7 +100,7 @@ ext {
|
||||
romeToolsVersion = '2.1.0'
|
||||
rsocketVersion = '1.1.4'
|
||||
servletApiVersion = '6.0.0'
|
||||
smackVersion = '4.4.6'
|
||||
smackVersion = '4.4.7'
|
||||
springAmqpVersion = '3.0.10'
|
||||
springDataVersion = '2023.0.9'
|
||||
springGraphqlVersion = '1.2.4'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -82,7 +82,7 @@ public class ChatMessageInboundChannelAdapterParserTests {
|
||||
assertThat(TestUtils.getPropertyValue(adapter, "payloadExpression.expression")).isEqualTo("#root");
|
||||
adapter.start();
|
||||
Map asyncRecvListeners = TestUtils.getPropertyValue(connection, "asyncRecvListeners", Map.class);
|
||||
assertThat(asyncRecvListeners.size()).isEqualTo(6);
|
||||
assertThat(asyncRecvListeners.size()).isEqualTo(5);
|
||||
Object lastListener = asyncRecvListeners.values().stream().reduce((first, second) -> second).get();
|
||||
assertThat(TestUtils.getPropertyValue(lastListener, "packetFilter")).isSameAs(stanzaFilter);
|
||||
adapter.stop();
|
||||
|
||||
Reference in New Issue
Block a user