public function testServer() { $this->assertArrayHasKey('used_memory', $this->credis->info()); $this->assertArrayHasKey('maxmemory', $this->credis->config('GET', 'maxmemory')); }
public function testServer() { $this->assertTrue(array_key_exists('used_memory', $this->credis->info())); $this->assertTrue(array_key_exists('maxmemory', $this->credis->config('GET', 'maxmemory'))); }