/** * setUp * * @return void * @access protected * @see ____func_see____ * @since 1.0.0 */ protected function setUp() { parent::setUp(); \XLite\Core\Database::getEM()->clear(); $this->doRestoreDb(__DIR__ . '/sql/profile/setup.sql', false); $this->testSearchData[22]['cnd']['startDate'] = date('M j, Y', time() - 60 * 60 * 24 * 7); $this->testSearchData[22]['cnd']['endDate'] = date('M j, Y', time() - 60 * 60 * 24 * 3); }
protected function setUp() { parent::setUp(); \XLite\Core\Database::getEM()->clear(); }
/** * setUp * * @return void * @access protected * @see ____func_see____ * @since 1.0.0 */ protected function setUp() { parent::setUp(); $this->doRestoreDb(__DIR__ . '/sql/category/setup.sql', false); }
/** * setUp * * @return void * @access protected * @see ____func_see____ * @since 1.0.0 */ protected function setUp() { parent::setUp(); \XLite\Core\Database::getEM()->clear(); $this->doRestoreDb(__DIR__ . '/Repo/sql/product/setup.sql', false); }
/** * setUp * * @return void * @see ____func_see____ * @since 1.0.0 */ protected function setUp() { parent::setUp(); $this->doRestoreDb(__DIR__ . '/Repo/sql/module/setup.sql', false); }
protected function setUp() { parent::setUp(); \XLite\Core\Database::getEM()->clear(); \Includes\Utils\FileManager::unlinkRecursive(LC_DIR_IMAGES . 'product'); }