예제 #1
0
 public function testServer()
 {
     $this->assertArrayHasKey('used_memory', $this->credis->info());
     $this->assertArrayHasKey('maxmemory', $this->credis->config('GET', 'maxmemory'));
 }
예제 #2
0
 public function testServer()
 {
     $this->assertTrue(array_key_exists('used_memory', $this->credis->info()));
     $this->assertTrue(array_key_exists('maxmemory', $this->credis->config('GET', 'maxmemory')));
 }