Project

General

Profile

Actions

Bug #73237

closed

More failing Unit Tests on Windows Systems

Added by Nicole Cordes almost 9 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2016-02-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Still 2 Unit Tests are failing on Windows System after applying patch for issue #73006

There were 2 failures:

1) TYPO3\CMS\Fluid\Tests\Unit\Core\Cache\FluidTemplateCacheTest::setCallsSetOnBackend
Expectation failed for method name is equal to <string:set> when invoked 1 time(s)
Parameter 1 for invocation TYPO3\CMS\Core\Cache\Backend\BackendInterface::set('test', 'Failed asserting that two strings are equal.
--- Expected
+++ Actual
@ @
' test
#'

D:\Version Control\Git\TYPO3\TYPO3.CMS\master\typo3\sysext\core\Classes\Cache\Frontend\PhpFrontend.php:65
D:\Version Control\Git\TYPO3\TYPO3.CMS\master\typo3\sysext\fluid\Classes\Core\Cache\FluidTemplateCache.php:61
D:\Version Control\Git\TYPO3\TYPO3.CMS\master\typo3\sysext\fluid\Tests\Unit\Core\Cache\FluidTemplateCacheTest.php:59
D:\Version Control\Git\TYPO3\TYPO3.CMS\master\vendor\phpunit\phpunit\phpunit:47

2) TYPO3\CMS\Fluid\Tests\Unit\Core\Cache\FluidTemplateCacheTest::setRemovesLeadingPhpTagBeforeCallingParentWhichAddsLeadingPhpTag
Expectation failed for method name is equal to <string:set> when invoked 1 time(s)
Parameter 1 for invocation TYPO3\CMS\Core\Cache\Backend\BackendInterface::set('test', 'Failed asserting that two strings are equal.
--- Expected
++ Actual
@ @
'

test
#'

D:\Version Control\Git\TYPO3\TYPO3.CMS\master\typo3\sysext\core\Classes\Cache\Frontend\PhpFrontend.php:65
D:\Version Control\Git\TYPO3\TYPO3.CMS\master\typo3\sysext\fluid\Classes\Core\Cache\FluidTemplateCache.php:61
D:\Version Control\Git\TYPO3\TYPO3.CMS\master\typo3\sysext\fluid\Tests\Unit\Core\Cache\FluidTemplateCacheTest.php:75
D:\Version Control\Git\TYPO3\TYPO3.CMS\master\vendor\phpunit\phpunit\phpunit:47

Actions

Also available in: Atom PDF