Skip to content

Commit acb8e2e

Browse files
umair-ablyclaude
andcommitted
Bump the hardcoded agent-version canary in RealtimeHttpHeaderTest to 2.0.0
The test deliberately hardcodes the expected ably-java/<version> agent value rather than deriving it from Defaults (per its own comment), so it must be bumped with VERSION_NAME. The wire value was already correctly ably-java/2.0.0; only the canary was stale. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent b59f806 commit acb8e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/src/test/java/io/ably/lib/test/realtime/RealtimeHttpHeaderTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void realtime_websocket_param_test() {
8888
* Defaults.ABLY_AGENT_PARAM, as ultimately the request param has been derived from those values.
8989
*/
9090
assertEquals("Verify correct lib version", requestParameters.get("agent"),
91-
Collections.singletonList("ably-java/1.8.0 jre/" + System.getProperty("java.version")));
91+
Collections.singletonList("ably-java/2.0.0 jre/" + System.getProperty("java.version")));
9292

9393
/* Spec RTN2a */
9494
assertEquals("Verify correct format", requestParameters.get("format"),

0 commit comments

Comments
 (0)