2 namespace TYPO3\CMS\Frontend\Tests\Functional\Controller;
18 use TYPO3\CMS\Core\Tests\FunctionalTestCase;
33 $this->importDataSet(__DIR__ .
'/fixtures.xml');
35 $this->tsFrontendController = $this->getAccessibleMock(
36 TypoScriptFrontendController::class,
43 $pageContextMock = $this->getMock(\TYPO3\CMS\Frontend\Page\PageRepository::class);
44 $this->tsFrontendController->_set(
'sys_page', $pageContextMock);
55 'The next start/endtime should be 2'
60 'The next start/endtime should be 3'
65 'The next start/endtime should be 5'
70 'The next start/endtime should be PHP_INT_MAX as there are no more'
75 'Should be PHP_INT_MAX as table has not this PID'
80 'Should be PHP_INT_MAX as table fe_groups has no start/endtime in TCA'
91 return $this->tsFrontendController->_call(
'getFirstTimeValueForRecord', $tablePid, $now);