Skip to content

Commit e7b2fc6

Browse files
author
Sergii Zhevzhyk
committed
Remove one unused statement in the unit test for Hosts
1 parent d6bb090 commit e7b2fc6

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/src/test/java/io/ably/lib/transport/HostsTest.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,10 +251,7 @@ public void hosts_use_default_fallback_hosts_and_tlsport_are_defined() throws Ab
251251
options.fallbackHostsUseDefault = true;
252252

253253
// When
254-
Hosts hosts = new Hosts(null, Defaults.HOST_REALTIME, options);
255-
256-
// Then
257-
assertThat(hosts.getFallback(Defaults.HOST_REALTIME), nullValue());
254+
new Hosts(null, Defaults.HOST_REALTIME, options);
258255
}
259256

260257
private List<String> collectFallbackHosts(Hosts hosts) {

0 commit comments

Comments
 (0)