Actions
Bug #24365
closedt3lib_cache_backend_RedisBackendTest causes t3lib_db_PreparedStatementTest tests to fail
Start date:
2010-12-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When t3lib_cache_backend_RedisBackendTest is executed before t3lib_db_PreparedStatementTest, I get 4 test failures in t3lib_db_PreparedStatementTest. This is because t3lib_cache_backend_RedisBackendTest sets backupGlobals to true without adding the DB globals as an exception, wrecking the DB link.
As the t3lib_cache_backend_RedisBackendTest does not modify any globals anyway, we can just remove the backupGlobals option.
In addition, the patch unsets both members in the testcase, making life for the garbage collector a bit easier.
(issue imported from #M16779)
Files
Actions