Skip to content

Commit 8a80098

Browse files
author
Muhammad Umer Farooq
authored
Update EncryptionTest.php
1 parent 7776c8c commit 8a80098

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/EncryptionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public function testEncryptAndDecryptWithSodium()
3838
$encryptedString = $encryption->encrypt('plain-text');
3939
$decryptedString = $encryption->decrypt($encryptedString);
4040

41-
$this->assertStringEndsWith('==', $encryptedString);
42-
$this->assertSame(80, strlen($encryptedString));
41+
$this->assertStringEndsNotWith('==', $encryptedString);
42+
$this->assertSame(112, strlen($encryptedString));
4343
$this->assertSame('plain-text', $decryptedString);
4444
}
4545
}

0 commit comments

Comments
 (0)