Bug #38713

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

Added by Dominique Feyer about 3 years ago. Updated about 3 years ago.

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

100%

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

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 Magnifier - 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 about 3 years 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 about 3 years 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

#1 Updated by Gerrit Code Review about 3 years 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

#2 Updated by Gerrit Code Review about 3 years ago

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

#3 Updated by Karsten Dambekalns about 3 years ago

  • Category set to - Testing -
  • Assigned To set to Dominique Feyer

#4 Updated by Gerrit Code Review about 3 years 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

#5 Updated by Gerrit Code Review about 3 years ago

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

#6 Updated by Dominique Feyer about 3 years ago

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

Also available in: Atom PDF