We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2ac824d + 0db7c10 commit 53bf197Copy full SHA for 53bf197
lib/src/test/java/io/ably/lib/test/realtime/RealtimeChannelTest.java
@@ -1669,7 +1669,7 @@ public void channel_invalid_resume_reattach_channels() throws AblyException {
1669
1670
ErrorInfo resumeError = connectionWaiter.waitFor(ConnectionState.connected);
1671
assertNotNull(resumeError);
1672
- assertTrue(resumeError.message.contains("Invalid connection key"));
+ assertEquals("Verify error code indicates invalid connection key", resumeError.code, 80018);
1673
assertSame(resumeError, ably.connection.connectionManager.getStateErrorInfo());
1674
assertNotEquals("A new connection was created", originalConnectionId, ably.connection.id);
1675
0 commit comments