public function tearDown()
 {
     $this->client->setSandboxPath('/');
     if ($this->client->dirExists('/phpunit_test')) {
         $this->client->removeDir('/phpunit_test', true);
     }
     parent::tearDown();
 }
예제 #2
0
 /**
  * @expectedException \ActiveCollab\Etcd\Exception\EtcdException
  */
 public function testRemoveDir()
 {
     $this->client->createDir('testrmdir');
     $this->client->removeDir('testrmdir', true);
     $this->client->removeDir('testrmdir');
 }