tearDown() public method

public tearDown ( )
 public function tearDown()
 {
     parent::tearDown();
     $dir = Helpers::getEnvVar('LOCAL_FILESTORE') . '/' . $this->lrs->_id;
     $this->deleteDirectory($dir);
     (new \Statement())->where('lrs._id', $this->lrs->_id)->delete();
 }
 public function tearDown()
 {
     parent::tearDown();
     $dir = Helpers::getEnvVar('FS_LOCAL_ENDPOINT') . '/' . $this->lrs->_id;
     $this->deleteDirectory($dir);
     (new \Statement())->where('lrs_id', new \MongoId($this->lrs->_id))->delete();
 }
Exemplo n.º 3
0
 public function tearDown()
 {
     parent::tearDown();
 }
Exemplo n.º 4
0
 public function tearDown()
 {
     $this->model->delete();
     parent::tearDown();
 }