Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit a854eb0

Browse files
author
Emir Beganovic
committed
Mark test as skipped from 7.1
1 parent dfeb533 commit a854eb0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PseudoRandomString/McryptPseudoRandomStringGeneratorTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ class McryptPseudoRandomStringGeneratorTest extends \PHPUnit_Framework_TestCase
2929
{
3030
public function testCanGenerateRandomStringOfArbitraryLength()
3131
{
32+
if (version_compare(PHP_VERSION, '7.1', '>=')) {
33+
$this->markTestSkipped('Skipping test mcrypt is deprecated from 7.1');
34+
}
35+
3236
if (!function_exists('mcrypt_create_iv')) {
3337
$this->markTestSkipped(
3438
'Mcrypt must be installed to test mcrypt_create_iv().'

0 commit comments

Comments
 (0)