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();
 }
Example #3
0
 public function tearDown()
 {
     parent::tearDown();
 }
 public function tearDown()
 {
     $this->model->delete();
     parent::tearDown();
 }