Skip to content
Snippets Groups Projects
Commit bb8f72d1 authored by Laurent's avatar Laurent
Browse files

hotline#18512 cms_comments

fix ckeditor test
parent d02f36d2
Branches
Tags
5 merge requests!715Master,!628Master,!625Hotline 6.59,!624Hotline 6.59,!616Hotline#16601 facets emplacement
......@@ -16,19 +16,19 @@
*
* You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE
* along with BOKEH; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
require_once 'ViewHelperTestCase.php';
require_once 'ZendAfi/View/Helper/CkEditor.php';
class CkEditorWithFormulaireEnabledTest extends ViewHelperTestCase {
public function setUp() {
parent::setUp();
$this->_helper = new ZendAfi_View_Helper_CkEditor();
$this->_helper->setView(new ZendAfi_Controller_Action_Helper_View());
if (!defined('URL_CSS'))
if (!defined('URL_CSS'))
define('URL_CSS','');
Class_AdminVar::newInstanceWithId('CMS_FORMULAIRES')->setValeur(1);
$this->_html=$this->_helper->ckeditor('','','');
......@@ -45,12 +45,12 @@ class CkEditorWithFormulaireEnabledTest extends ViewHelperTestCase {
class CkEditorWithFormulaireDisabledTest extends ViewHelperTestCase {
public function setUp() {
parent::setUp();
$this->_helper = new ZendAfi_View_Helper_CkEditor();
$this->_helper->setView(new ZendAfi_Controller_Action_Helper_View());
if (!defined('URL_CSS'))
if (!defined('URL_CSS'))
define('URL_CSS','');
Class_AdminVar::newInstanceWithId('CMS_FORMULAIRES')->setValeur(0);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment