Bug #38713

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

Added by Dominique Feyer 11 months ago. Updated 10 months ago.

Status:Resolved Start date:2012-07-06
Priority:Should have Due date:
Assignee:Dominique Feyer % Done:

100%

Category:- Testing -
Target version:TYPO3 Flow Base Distribution - 1.1
PHP Version:5.3 Complexity:
Has patch:No FLOW3 version affected:FLOW3 1.1.0 rc 1
Votes: 0

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);

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

Associated revisions

Revision 00ff17ef
Added by Dominique Feyer 10 months ago

[BUGFIX] MemcachedBackendTest fail

MemcachedBackendTest doesn't use TYPO3\FLOW3\Core\ApplicationContext
to initialize MemcacheBackend.

Change-Id: I7cee5f4c3688897c53801923dc3ac1069fa369c0
Fixes: #38713
Releases: 1.1, 1.2

Revision b9f907d8
Added by Dominique Feyer 10 months ago

[BUGFIX] MemcachedBackendTest fail

MemcachedBackendTest doesn't use TYPO3\FLOW3\Core\ApplicationContext
to initialize MemcacheBackend.

Change-Id: I7cee5f4c3688897c53801923dc3ac1069fa369c0
Fixes: #38713
Releases: 1.1, 1.2

History

Updated by Gerrit Code Review 11 months ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12671

Updated by Gerrit Code Review 11 months ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12671

Updated by Karsten Dambekalns 10 months ago

  • Category set to - Testing -
  • Assignee set to Dominique Feyer

Updated by Gerrit Code Review 10 months ago

Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/12715

Updated by Gerrit Code Review 10 months ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12671

Updated by Dominique Feyer 10 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF