[BUGFIX] Broken category collection test
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 24 Aug 2012 17:04:45 +0000 (19:04 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 24 Aug 2012 17:06:06 +0000 (19:06 +0200)
Wrong table name in fixture leads to DB error.

Change-Id: I75bc3733d90373835980aec8467604b9f1525e99
Resolves: #40136
Related: #40095
Releases: 6.0
Reviewed-on: http://review.typo3.org/14047
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
tests/Unit/t3lib/category/Collection/CategoryCollectionTest.php

index 88799f8..f74854b 100644 (file)
@@ -55,7 +55,7 @@ class t3lib_category_CategoryCollectionTest extends Tx_Phpunit_TestCase {
                        'uid' => 0,
                        'title' => uniqid('title'),
                        'description' => uniqid('description'),
-                       'table_name' => 'content'
+                       'table_name' => $this->tableName,
                );
                $GLOBALS['TCA'][$this->tableName] = array('ctrl' => array());
                // prepare environment