/** * Constructs a test case with the given name. * * Klassenkonstruktor - BE-Workspace setzen * * @param string $name * @param array $data * @param string $dataName */ public function __construct($name = NULL, array $data = array(), $dataName = '') { global $TYPO3_DB, $BE_USER; parent::__construct($name, $data, $dataName); $TYPO3_DB->debugOutput = TRUE; $this->workspaceIdAtStart = $BE_USER->workspace; $BE_USER->setWorkspace(0); }
public function __construct($name = null) { global $TYPO3_DB, $BE_USER; parent::__construct($name); $TYPO3_DB->debugOutput = TRUE; $this->apiObj = new tx_templavoila_api(); $this->workspaceIdAtStart = $BE_USER->workspace; $BE_USER->setWorkspace(0); }
/** * Klassenkonstruktor * * @param string $name */ public function __construct($name = null) { global $TYPO3_DB, $BE_USER; parent::__construct($name); $TYPO3_DB->debugOutput = TRUE; $this->workspaceIdAtStart = $BE_USER->workspace; $BE_USER->setWorkspace(0); // devlog erstmal deaktivieren, // da Prozesse auserhalb des Tests auch darauf zugreifen! tx_mklib_tests_Util::disableDevlog(); }