public static function setUpBeforeClass() { static::$entityCollection = array(); static::$runtimeCollection = array(); date_default_timezone_set('Europe/Paris'); ImportController::importContent(ROADIZ_ROOT . '/tests/Fixtures/Handlers/Page.json', "RZ\\Roadiz\\CMS\\Importers\\NodeTypesImporter", null); }
/** * Import Nodes file. * * * @return string */ public function importNodesAction(Request $request, $themeId = null) { $this->validateAccessForRole('ROLE_ACCESS_THEMES'); return parent::importNodesAction($request, $themeId); }