Skip to content

Commit

Permalink
Merge pull request #76 from creative-commoners/pulls/2/stop-using-depr
Browse files Browse the repository at this point in the history
API Stop using deprecated API
  • Loading branch information
sabina-talipova authored Dec 5, 2022
2 parents 69f65ed + 41c9c01 commit 3019eeb
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 3019eeb

Please sign in to comment.