File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/KubernetesClient.Tests Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ public void LoadFromFiles()
3030
3131 // Just validate that this doesn't throw and private key is non-null
3232 var cert = CertUtils . GeneratePfx ( cfg ) ;
33- Assert . NotNull ( cert . PrivateKey ) ;
33+ Assert . NotNull ( cert . GetRSAPrivateKey ( ) ) ;
3434 }
3535
3636 /// <summary>
@@ -45,7 +45,7 @@ public void LoadFromFilesRelativePath()
4545
4646 // Just validate that this doesn't throw and private key is non-null
4747 var cert = CertUtils . GeneratePfx ( cfg ) ;
48- Assert . NotNull ( cert . PrivateKey ) ;
48+ Assert . NotNull ( cert . GetRSAPrivateKey ( ) ) ;
4949 }
5050
5151 /// <summary>
@@ -59,7 +59,7 @@ public void LoadFromInlineData()
5959
6060 // Just validate that this doesn't throw and private key is non-null
6161 var cert = CertUtils . GeneratePfx ( cfg ) ;
62- Assert . NotNull ( cert . PrivateKey ) ;
62+ Assert . NotNull ( cert . GetRSAPrivateKey ( ) ) ;
6363 }
6464
6565 /// <summary>
@@ -74,7 +74,7 @@ public void LoadFromInlineDataRelativePath()
7474
7575 // Just validate that this doesn't throw and private key is non-null
7676 var cert = CertUtils . GeneratePfx ( cfg ) ;
77- Assert . NotNull ( cert . PrivateKey ) ;
77+ Assert . NotNull ( cert . GetRSAPrivateKey ( ) ) ;
7878 }
7979
8080 /// <summary>
You can’t perform that action at this time.
0 commit comments