Issue Bug Closed

#42964Failing test DateValidatorTest on Windows

Jigal van Hemert 11/14/12, 13:33 updated 01/14/15, 08:53

Description

Testsuite: TYPO3\CMS\Form\Tests\Unit\Validation\DateValidatorTest
isValidForValidInputReturnsTrue with data set “28-03-2012”

( ! ) Fatal error: Call to undefined function TYPO3\CMS\Form\Validation\strptime() in D:\TYPO3\TYPO3 Core Git\typo3\sysext\form\Classes\Validation\DateValidator.php on line 62
Call Stack
  1. Time Memory Function Location
    1 0.0008 145048 {main}( ) ..\mod.php:0
    2 1.8019 11174760 require( ‘D:\TYPO3\TYPO3 extensions\phpunit\Classes\BackEnd\index.php’ ) ..\mod.php:41
    3 1.9538 11810528 Tx_Phpunit_BackEnd_Module->main( ) ..\index.php:80
    4 2.4017 13161432 Tx_Phpunit_BackEnd_Module->renderRunTests( ) ..\Module.php:201
    5 2.9509 15629032 Tx_Phpunit_BackEnd_Module->renderRunningTest( ) ..\Module.php:272
    6 3.2058 16140552 Tx_Phpunit_BackEnd_Module->runTestCase( ) ..\Module.php:585
    7 3.2092 16143752 PHPUnit_Framework_TestSuite->run( ) ..\Module.php:798
    8 3.2093 16144816 PHPUnit_Framework_TestSuite->runTest( ) ..\TestSuite.php:745
    9 3.2093 16144832 PHPUnit_Framework_TestCase->run( ) ..\TestSuite.php:772
    10 3.2094 16145400 PHPUnit_Framework_TestResult->run( ) ..\TestCase.php:751
    11 3.2188 16187000 TYPO3\CMS\Extbase\Tests\Unit\BaseTestCase->runBare( ) ..\TestResult.php:649
    12 3.2189 16187072 PHPUnit_Framework_TestCase->runBare( ) ..\BaseTestCase.php:49
    13 3.2829 18926904 PHPUnit_Framework_TestCase->runTest( ) ..\TestCase.php:804
    14 3.2830 18927792 ReflectionMethod->invokeArgs( ) ..\TestCase.php:942
    15 3.2830 18927808 TYPO3\CMS\Form\Tests\Unit\Validation\DateValidatorTest->isValidForValidInputReturnsTrue( ) ..\TestCase.php:942
    16 3.3416 19239512 TYPO3\CMS\Form\Validation\DateValidator->isValid( ) ..\DateValidatorTest.php:83

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.