[TASK] Fixen broken tests for getTreeList 59/27859/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Tue, 25 Feb 2014 22:59:20 +0000 (23:59 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 25 Feb 2014 22:59:58 +0000 (23:59 +0100)
Resolves: #56294
Releases: 6.2
Change-Id: I1d86f1899447feaa301474f4ed247a0ecc6c1a6e
Reviewed-on: https://review.typo3.org/27859
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php

index 784a838..d0e8a9c 100644 (file)
@@ -1933,7 +1933,7 @@ class ContentObjectRendererTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                // 17 = pageId, 5 = recursionLevel, 0 = begin (entry to recursion, internal), TRUE = do not check enable fields
                // 17 is positive, we expect 17 NOT to be included in result
                $result = $this->cObj->getTreeList(17, 5, 0, TRUE);
-               $expectedResult = '0,42,719,321';
+               $expectedResult = '42,719,321';
                $this->assertEquals($expectedResult, $result);
        }
 
@@ -1974,7 +1974,7 @@ class ContentObjectRendererTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                // 17 = pageId, 5 = recursionLevel, 0 = begin (entry to recursion, internal), TRUE = do not check enable fields
                // 17 is negative, we expect 17 to be included in result
                $result = $this->cObj->getTreeList(-17, 5, 0, TRUE);
-               $expectedResult = '0,42,719,321,17';
+               $expectedResult = '42,719,321,17';
                $this->assertEquals($expectedResult, $result);
        }