Explorar el Código

Update tests to use new API.

Tim Burks hace 8 años
padre
commit
7bbfb5dbb9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Tests/gRPCTests/GRPCTests.swift

+ 1 - 1
Tests/gRPCTests/GRPCTests.swift

@@ -126,7 +126,7 @@
     let host = "example.com"
     channel = gRPC.Channel(address:address, certificates:certificates, host:host)
   } else {
-    channel = gRPC.Channel(address:address)
+    channel = gRPC.Channel(address:address, secure:false)
   }
 
   channel.host = host