示例#1
0
文件: Profile.php 项目: kingsj/core
 /**
  * tearDown
  *
  * @return void
  * @access protected
  * @see    ____func_see____
  * @since  1.0.0
  */
 protected function tearDown()
 {
     parent::tearDown();
     $this->doRestoreDb();
 }
示例#2
0
文件: Category.php 项目: kingsj/core
 /**
  * tearDown
  *
  * @return void
  * @access protected
  * @see    ____func_see____
  * @since  1.0.0
  */
 protected function tearDown()
 {
     parent::tearDown();
     // Not needed right now
     $this->doRestoreDb();
 }
示例#3
0
文件: FormId.php 项目: kingsj/core
 protected function tearDown()
 {
     $this->clearEntity($this->formId);
     parent::tearDown();
 }
示例#4
0
 /**
  * tearDown
  *
  * @return void
  * @see    ____func_see____
  * @since  1.0.22
  */
 protected function tearDown()
 {
     xdebug_stop_code_coverage(false);
     if (!empty($this->orders)) {
         foreach ($this->orders as $order) {
             $this->clearEntity($order);
         }
     }
     if ($this->order) {
         $this->clearEntity($this->order);
     }
     $this->order = null;
     xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);
     parent::tearDown();
 }
示例#5
0
文件: Image.php 项目: kingsj/core
 protected function tearDown()
 {
     $this->product = null;
     $this->doRestoreDb();
     parent::tearDown();
 }