Skip to content

Commit

Permalink
upd test
Browse files Browse the repository at this point in the history
  • Loading branch information
cheprasov committed Jun 21, 2020
1 parent c3594e0 commit e4c5912
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/Integration/Version2x6/ServerCommandsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,10 @@ public function test_info() {
$this->assertSame(true, is_array($info['CPU']));
$this->assertSame(true, is_array($info['Keyspace']));

$this->assertSame($info['Server'], $Redis->info('Server'));
$serverInfo = $Redis->info('Server');
$info['Server']['lru_clock'] = $serverInfo['lru_clock'];
$this->assertSame($info['Server'], $serverInfo);

$this->assertSame($info['Clients'], $Redis->info('Clients'));
$this->assertSame($info['Persistence'], $Redis->info('Persistence'));
$this->assertSame($info['Replication'], $Redis->info('Replication'));
Expand Down

0 comments on commit e4c5912

Please sign in to comment.