[TASK] ext:install Protect some methods in FolderStructure
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Tests / Unit / FolderStructure / FileNodeTest.php
index 703ac35..0aea19f 100644 (file)
@@ -80,7 +80,7 @@ class FileNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                        'name' => 'foo',
                );
                $node->__construct($structure, $parent);
-               $this->assertSame($parent, $node->getParent());
+               $this->assertSame($parent, $node->_call('getParent'));
        }
 
        /**
@@ -96,7 +96,7 @@ class FileNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
                        'targetPermission' => $targetPermission,
                );
                $node->__construct($structure, $parent);
-               $this->assertSame($targetPermission, $node->getTargetPermission());
+               $this->assertSame($targetPermission, $node->_call('getTargetPermission'));
        }
 
        /**