[corlib] Fix CspParametersTest.Ctor test
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 15 Apr 2016 00:53:49 +0000 (02:53 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Fri, 15 Apr 2016 00:53:49 +0000 (02:53 +0200)
This essentially reapplies ae2f50e57fb39a005a80303d21a956e89ec36a8b which was inadvertently changed back in 27f07c8095e50cc8be3c5155fcc929a119267db0.

It started failing again after 255ce320b0da31b6e50cef084a4079039ccb39d6 reapplied a fix that was also inadvertently removed (https://github.com/mono/referencesource/commit/8c7937a9e7cc3f61f9ceb6a9d6f19fefdf1672b0).

mcs/class/corlib/Test/System.Security.Cryptography/CspParametersTest.cs

index 11e81774310f6912bbf366272d4a7334cd2db67a..6cdc052f4fb97f8b2d630733e32e5a69a9b814bc 100644 (file)
@@ -39,7 +39,7 @@ namespace MonoTests.System.Security.Cryptography {
                public void Ctor () 
                {
                        var cp = new CspParameters ();
-                       Assert.AreEqual (24, cp.ProviderType);
+                       Assert.AreEqual (1, cp.ProviderType);
                }
        }
 }