Skip to content

Commit

Permalink
Test Collector::getCommands under redis 5.x extension
Browse files Browse the repository at this point in the history
  • Loading branch information
ostrolucky committed Oct 23, 2021
1 parent c48b0f3 commit b2ada87
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Tests/Functional/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@ public function testIntegration()
/** @var RedisDataCollector $collector */
$collector = $this->client->getProfile()->getCollector('redis');
$this->assertInstanceOf(RedisDataCollector::class, $collector);

if (version_compare(phpversion('redis'), '4.0.0', '<')) {
// Logging is currently disabled on PHPRedis 4+
$this->assertCount(5, $collector->getCommands());
}
$this->assertCount(6, $collector->getCommands());
}

public function testCreateUser()
Expand Down

0 comments on commit b2ada87

Please sign in to comment.