浏览代码

Update tests to use new API.

Tim Burks 8 年之前
父节点
当前提交
7bbfb5dbb9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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