IGNITE-8042: .NET: Thin client: authentication support - fix 
TestAuthenticationEmptyCredentials


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/5fd5968e
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/5fd5968e
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/5fd5968e

Branch: refs/heads/ignite-7708
Commit: 5fd5968e5e7119571ae315af66f5f23032ff96da
Parents: 8550d61
Author: Pavel Tupitsyn <ptupit...@apache.org>
Authored: Fri Apr 13 13:36:20 2018 +0300
Committer: Pavel Tupitsyn <ptupit...@apache.org>
Committed: Fri Apr 13 13:36:20 2018 +0300

----------------------------------------------------------------------
 .../dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5fd5968e/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
----------------------------------------------------------------------
diff --git 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
index 0a6b1a7..67d1c52 100644
--- 
a/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
+++ 
b/modules/platforms/dotnet/Apache.Ignite.Core.Tests/Client/ClientConnectionTest.cs
@@ -100,7 +100,7 @@ namespace Apache.Ignite.Core.Tests.Client
 
                 cliCfg.UserName = null;
                 ex = Assert.Throws<IgniteClientException>(() => { 
Ignition.StartClient(cliCfg); });
-                
Assert.IsTrue(ex.Message.StartsWith("IgniteClientConfiguration.Username cannot 
be null"));
+                
Assert.IsTrue(ex.Message.StartsWith("IgniteClientConfiguration.UserName cannot 
be null"));
 
                 cliCfg.UserName = "";
                 ex = Assert.Throws<IgniteClientException>(() => { 
Ignition.StartClient(cliCfg); });

Reply via email to