예제 #1
0
 protected function setUp()
 {
     $this->testExtensionsToLoad[] = 'typo3/sysext/version/';
     $this->testExtensionsToLoad[] = 'typo3/sysext/workspaces/';
     parent::setUp();
     $this->importScenarioDataSet('LiveDefaultPages');
     $this->importScenarioDataSet('LiveDefaultElements');
 }
 protected function setUp()
 {
     parent::setUp();
     $this->importScenarioDataSet('LiveDefaultPages');
     $this->importScenarioDataSet('LiveDefaultElements');
     $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
     $this->backendUser->workspace = 0;
 }
 public function setUp()
 {
     parent::setUp();
     $this->importScenarioDataSet('LiveDefaultPages');
     $this->importScenarioDataSet('LiveDefaultElements');
     $this->importScenarioDataSet('ReferenceIndex');
     $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
     $this->backendUser->workspace = self::VALUE_WorkspaceId;
 }
 public function setUp()
 {
     $this->testExtensionsToLoad[] = 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler';
     parent::setUp();
     $this->importScenarioDataSet('LiveDefaultPages');
     $this->importScenarioDataSet('LiveDefaultElements');
     $this->importScenarioDataSet('ReferenceIndex');
     $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
 }
예제 #5
0
 /**
  * Sets up this test suite.
  */
 public function setUp()
 {
     parent::setUp();
     $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/core/Tests/Functional/Fixtures/pages.xml');
     $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/fe_groups.xml');
     $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/fe_users.xml');
     $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/blogs-with-fe_groups.xml');
     $this->setUpFrontendRootPage(1, array('typo3/sysext/extbase/Tests/Functional/Persistence/Fixtures/Frontend/JsonRenderer.ts'));
 }
예제 #6
0
 /**
  * Tear down for remove of the test files
  */
 protected function tearDown()
 {
     foreach ($this->testFilesToDelete as $absoluteFileName) {
         if (@is_file($absoluteFileName)) {
             unlink($absoluteFileName);
         }
     }
     parent::tearDown();
 }
 public function setUp()
 {
     parent::setUp();
     $this->importScenarioDataSet('LiveDefaultPages');
     $this->importScenarioDataSet('LiveDefaultElements');
     $this->importDataSet(ORIGINAL_ROOT . 'typo3/sysext/core/Tests/Functional/Fixtures/sys_file_storage.xml');
     $this->setUpFrontendRootPage(1, array('typo3/sysext/core/Tests/Functional/Fixtures/Frontend/JsonRenderer.ts'));
     $this->backendUser->workspace = 0;
 }
예제 #8
0
 protected function setUp()
 {
     $this->testExtensionsToLoad[] = 'typo3/sysext/core/Tests/Functional/Fixtures/Extensions/test_datahandler';
     parent::setUp();
     $this->importScenarioDataSet('LiveDefaultPages');
 }
 /**
  * Set up for set up the backend user, initialize the language object
  * and creating the ImportExport instance
  *
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->import = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Impexp\\ImportExport');
     $this->import->init(0, 'import');
 }