diff options
Diffstat (limited to 'dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs')
-rw-r--r-- | dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs b/dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs index d5330898a0..f03df903b2 100644 --- a/dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs +++ b/dotnet/Qpid.Client.Tests/connection/ConnectionTest.cs @@ -20,7 +20,7 @@ */ using System; using NUnit.Framework; -using Qpid.Client.qms; +using Qpid.Client.Qms; using Qpid.Messaging; namespace Qpid.Client.Tests.Connection @@ -31,7 +31,7 @@ namespace Qpid.Client.Tests.Connection [Test] public void SimpleConnection() { - ConnectionInfo connectionInfo = new QpidConnectionInfo(); + IConnectionInfo connectionInfo = new QpidConnectionInfo(); connectionInfo.AddBrokerInfo(new AmqBrokerInfo("amqp", "localhost", 5672, false)); using (IConnection connection = new AMQConnection(connectionInfo)) { @@ -42,8 +42,8 @@ namespace Qpid.Client.Tests.Connection [Test] public void PasswordFailureConnection() { - ConnectionInfo connectionInfo = new QpidConnectionInfo(); - connectionInfo.SetPassword("rubbish"); + IConnectionInfo connectionInfo = new QpidConnectionInfo(); + connectionInfo.Password = "rubbish"; connectionInfo.AddBrokerInfo(new AmqBrokerInfo()); try { |