[BUGFIX] Remove a rather dubious unit test for Redis cache backend
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 1 Jul 2012 09:40:53 +0000 (11:40 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 1 Jul 2012 09:44:14 +0000 (11:44 +0200)
The password test is not very useful and fails with younger redis
versions. It was already removed in TYPO3.FLOW3 with commit
e06bd9bb0a3e602a6b067d91b94e88cd78d96135

Change-Id: Iae7372c54c3c8befd08cbdccfb578f6986e1d588
Resolves: #38511
Releases: 6.0, 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/12488
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
tests/Unit/t3lib/cache/backend/class.t3lib_cache_backend_redisbackendTest.php

index e96d158..64a78b8 100644 (file)
@@ -129,18 +129,6 @@ class t3lib_cache_backend_RedisBackendTest extends tx_phpunit_testcase {
         * @test Functional
         * @author Christian Kuhn <lolli@schwarzbu.ch>
         */
-       public function initializeObjectThrowsNoExceptionIfPasswordOptionIsSet() {
-               try {
-                       $this->setUpBackend(array('password' => 'foo'));
-               } catch (Exception $e) {
-                       $this->assertTrue();
-               }
-       }
-
-       /**
-        * @test Functional
-        * @author Christian Kuhn <lolli@schwarzbu.ch>
-        */
        public function initializeObjectThrowsNoExceptionIfGivenDatabaseWasSuccessfullySelected() {
                try {
                        $this->setUpBackend(array('database' => 1));