Skip to content

Commit

Permalink
Fix unit tests.
Browse files Browse the repository at this point in the history
Apparently PHP 7.3 doesn't always work this way.
  • Loading branch information
paragonie-security committed Aug 15, 2019
1 parent e077b58 commit a7c6f16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/EasyDBCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class EasyDBCacheTest extends TestCase
/** @var string $fuzz */
private $fuzz;

/** @var EasyDBCache $db */
/** @var EasyDB $db */
private $db2;

public function setUp()
Expand Down Expand Up @@ -88,7 +88,7 @@ public function testPrepareReuse()
*/
public function testSpeed()
{
if (!extension_loaded('sodium')) {
if (!extension_loaded('sodium') || PHP_VERSION_ID >= 70300) {
$this->markTestSkipped('Do not run this test without ext/sodium');
}

Expand Down

0 comments on commit a7c6f16

Please sign in to comment.