Skip to content

Commit

Permalink
Fix tests failing on PHP 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vaurdan committed Jul 19, 2021
1 parent b1690a9 commit 990143f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test-encryption.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function setUp() {
/**
* Test if the encryptor being used with PHP 7.1 or older is the mcrypt encryptor.
*
* @requires PHP < 7.1
* @requires PHP <= 7.1
*/
public function test_get_encryptor_before_php_71() {
$encryptor = \Syndication_Encryption::get_encryptor();
Expand All @@ -46,7 +46,7 @@ public function test_get_encryptor_before_php_71() {
/**
* Test if the encryptor being used with newer PHP is OpenSSL encryptor.
*
* @requires PHP >= 7.1
* @requires PHP > 7.1
*/
public function test_get_encryptor_after_php_71() {
$encryptor = \Syndication_Encryption::get_encryptor();
Expand Down

0 comments on commit 990143f

Please sign in to comment.