Skip to content

Commit

Permalink
Skip persistent connection test if PHP_ZTS enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticalHippo committed Jun 26, 2018
1 parent 314552e commit a1fc761
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Redis/RedisConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,10 @@ public function it_runs_raw_command()
*/
public function it_persists_connection()
{
if (PHP_ZTS) {
$this->markTestSkipped('PhpRedis does not support persistent connections with PHP_ZTS enabled.');
}

$this->assertEquals(
'laravel',
$this->connections()['persistent']->getPersistentID()
Expand Down

0 comments on commit a1fc761

Please sign in to comment.