Follow-up to #16779: t3lib_cache_backend_RedisBackendTest causes t3lib_db_PreparedSta...
authorSteffen Gebert <steffen.gebert@typo3.org>
Sun, 19 Dec 2010 20:54:16 +0000 (20:54 +0000)
committerSteffen Gebert <steffen.gebert@typo3.org>
Sun, 19 Dec 2010 20:54:16 +0000 (20:54 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9853 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
tests/t3lib/cache/backend/t3lib_cache_backend_redisbackendTest.php

index e0ad34e..791ace1 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-12-19  Steffen Gebert  <steffen@steffen-gebert.de>
+
+       * Follow-up to #16779: t3lib_cache_backend_RedisBackendTest causes t3lib_db_PreparedStatementTest tests to fail (Thanks to Oliver Klee)
+
 2010-12-18  Susanne Moog  <typo3@susanne-moog.de>
 
        * Fixed bug #16771: Change ugly formatting of "pageNotFound_handling" and "pageUnavailable_handling"
index c826cf2..7af7056 100644 (file)
@@ -115,11 +115,7 @@ class t3lib_cache_backend_RedisBackendTest extends tx_phpunit_testcase {
         * @author Christian Kuhn <lolli@schwarzbu.ch>
         */
        public function constructorThrowsNoExceptionIfPasswordOptionIsSet() {
-               try {
-                       $this->setUpBackend(array('password' => 'foo'));
-               } catch (Exception $e) {
-                       $this->assertTrue();
-               }
+               $this->setUpBackend(array('password' => 'foo'));
        }
 
        /**
@@ -127,11 +123,7 @@ class t3lib_cache_backend_RedisBackendTest extends tx_phpunit_testcase {
         * @author Christian Kuhn <lolli@schwarzbu.ch>
         */
        public function constructorThrowsNoExceptionIfGivenDatabaseWasSuccessfullySelected() {
-               try {
-                       $this->setUpBackend(array('database' => 1));
-               } catch (Exception $e) {
-                       $this->assertTrue();
-               }
+               $this->setUpBackend(array('database' => 1));
        }
 
        /**