Bug #38713

MemcachedBackendTest don't use TYPO3\FLOW3\Core\ApplicationContext

Added by Dominique Feyer over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
- Testing -
Start date:
2012-07-06
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Has patch:
No
Complexity:

Description

A different place the phpunit test don't initialize correctly MemcachedBackend class:

$thatBackend = new \TYPO3\FLOW3\Cache\Backend\MemcachedBackend('Testing', $backendOptions);

Must be changed to

$thatBackend = new \TYPO3\FLOW3\Cache\Backend\MemcachedBackend(new ApplicationContext('Testing'), $backendOptions);

Files

MemcachedBackendTest.php.diff (1.44 KB) MemcachedBackendTest.php.diff Path with the fix for the current issue Dominique Feyer, 2012-07-06 14:48

Also available in: Atom PDF