Skip to content

Commit

Permalink
fix encryption tests PAM issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-grzesiowski committed Sep 11, 2024
1 parent 491a579 commit 2d78ed2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/UnitTests/PubnubApi.Tests/EncryptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,7 @@ public void TestSubscribeDecryption()
{
SubscribeKey = PubnubCommon.SubscribeKey,
PublishKey = PubnubCommon.PublishKey,
SecretKey = PubnubCommon.SecretKey,
Secure = false
};
config.LogVerbosity = PNLogVerbosity.BODY;
Expand Down Expand Up @@ -927,6 +928,7 @@ public void TestSubscribeDecryptionOnNonEncryptedMessage()
{
SubscribeKey = PubnubCommon.SubscribeKey,
PublishKey = PubnubCommon.PublishKey,
SecretKey = PubnubCommon.SecretKey
};
config.LogVerbosity = PNLogVerbosity.BODY;
config.CryptoModule = new CryptoModule(new AesCbcCryptor("enigma"),
Expand Down Expand Up @@ -1077,6 +1079,7 @@ private Pubnub CreateTestSender()
{
SubscribeKey = PubnubCommon.SubscribeKey,
PublishKey = PubnubCommon.PublishKey,
SecretKey = PubnubCommon.SecretKey,
Secure = false,
LogVerbosity = PNLogVerbosity.BODY
};
Expand Down

0 comments on commit 2d78ed2

Please sign in to comment.