diff --git a/src/test/java/com/github/alexdlaird/ngrok/NgrokClientTest.java b/src/test/java/com/github/alexdlaird/ngrok/NgrokClientTest.java index 4a24395..7461fd7 100644 --- a/src/test/java/com/github/alexdlaird/ngrok/NgrokClientTest.java +++ b/src/test/java/com/github/alexdlaird/ngrok/NgrokClientTest.java @@ -409,18 +409,18 @@ public void testTunnelDefinitions() { // GIVEN final String subdomain = createUniqueSubdomain(); - final Map httpTunnelConfig = new HashMap<>() {{ + final Map httpTunnelConfig = new HashMap() {{ put("proto", "http"); put("addr", "8000"); put("subdomain", subdomain); put("inspect", Boolean.FALSE); put("bind_tls", Boolean.TRUE); }}; - final Map tcpTunnelConfig = new HashMap<>() {{ + final Map tcpTunnelConfig = new HashMap() {{ put("proto", "tcp"); put("addr", "22"); }}; - final Map tunnelsConfig = new HashMap<>() {{ + final Map tunnelsConfig = new HashMap() {{ put("http-tunnel", httpTunnelConfig); put("tcp-tunnel", tcpTunnelConfig); }};