Skip to content

Commit

Permalink
API Stop using deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 28, 2022
1 parent 3c2a0c4 commit 41c9c01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/McryptCryptoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

use SilverStripe\Dev\SapphireTest;
use SilverStripe\HybridSessions\Crypto\McryptCrypto;
use SilverStripe\Dev\Deprecation;

/**
* @requires extension mcrypt
Expand All @@ -13,6 +14,9 @@ class McryptCryptoTest extends SapphireTest
{
public function testIntegrity()
{
if (Deprecation::isEnabled()) {
$this->markTestSkipped('Test calls deprecated code');
}
$this->markTestSkipped(
'McryptCrypto is losing zero bytes at the end of messages: ' .
'https://github.com/silverstripe/silverstripe-hybridsessions/issues/53'
Expand Down

0 comments on commit 41c9c01

Please sign in to comment.