Skip to content

Commit 6f60040

Browse files
author
David R. MacIver
committed
fix unit tests for new API
1 parent 336112d commit 6f60040

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

projects/client/Unit/src/unit/TestSsl.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
public class TestSsl {
6464

6565
public void SendReceive(ConnectionFactory cf) {
66-
IProtocol proto = Protocols.DefaultProtocol;
67-
using (IConnection conn = cf.CreateConnection(proto, "localhost", 5671)) {
66+
using (IConnection conn = cf.CreateConnection()) {
6867
IModel ch = conn.CreateModel();
6968

7069
ch.ExchangeDeclare("Exchange_TestSslEndPoint", ExchangeType.Direct);

0 commit comments

Comments
 (0)