Skip to content

Commit

Permalink
#86 update text messge for ignore,
Browse files Browse the repository at this point in the history
  • Loading branch information
maythamfahmi committed Oct 20, 2024
1 parent 671dec9 commit 8e571cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CryptoNet.UnitTests/CryptoNetRsaTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,11 @@ public void Encrypt_With_PublicKey_Decrypt_With_PrivateKey_Of_Content_Test()
Common.ConfidentialDummyData.ShouldBe(decryptedData);
}

[Ignore("")]
[Ignore("Private: This test works only on local Windows enviroment for debugging and testing. You can also put your own certifciate when debugging and testing")]
public void Encrypt_Decrypt_Using_X509_Certificate_Test()
{
// Arrange
X509Certificate2? certificate = CryptoNetExtensions.GetCertificateFromStore("CN=localhost");
X509Certificate2? certificate = CryptoNetExtensions.GetCertificateFromStore("CN=Maytham");
var rsaPublicKey = new CryptoNetRsa(certificate, KeyType.PublicKey);
var rsaPrivateKey = new CryptoNetRsa(certificate, KeyType.PrivateKey);

Expand All @@ -218,7 +218,7 @@ public void Encrypt_Decrypt_Using_X509_Certificate_Test()

}

[Ignore("Private")]
[Ignore("Private: This test works only on local Windows enviroment for debugging and testing. You can also put your own certifciate when debugging and testing")]
public void Export_Public_Key_For_X509_Certificate_Test()
{
// Arrange
Expand All @@ -233,7 +233,7 @@ public void Export_Public_Key_For_X509_Certificate_Test()
publicKey.ShouldNotBeEmpty();
}

[Ignore("Private")]
[Ignore("Private: This test works only on local Windows enviroment for debugging and testing. You can also put your own certifciate when debugging and testing")]
public void Customize_PEM_Key_Encryption_Decryption_Test()
{
// Arrange
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ RUN apt-get update && apt-get install libxml2

RUN dotnet restore
# Unit ans Integration Tests
RUN dotnet test
RUN dotnet test --verbosity normal

0 comments on commit 8e571cb

Please sign in to comment.