Skip to content

Commit

Permalink
Upgrade to Smack 4.4.7
Browse files Browse the repository at this point in the history
* Fix `ChatMessageInboundChannelAdapterParserTests` according to new Smack requirements
  • Loading branch information
artembilan committed Feb 17, 2024
1 parent 0630709 commit 2695435
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -82,7 +82,7 @@ public void testInboundAdapter() {
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();
Expand Down

0 comments on commit 2695435

Please sign in to comment.