projects
/
Packages
/
TYPO3.CMS.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[TASK] ext:install Protect some methods in FolderStructure
[Packages/TYPO3.CMS.git]
/
typo3
/
sysext
/
install
/
Tests
/
Unit
/
FolderStructure
/
RootNodeTest.php
diff --git
a/typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php
b/typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php
index
b12da46
..
1a866d2
100644
(file)
--- a/
typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php
+++ b/
typo3/sysext/install/Tests/Unit/FolderStructure/RootNodeTest.php
@@
-123,7
+123,7
@@
class RootNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
'name' => '/bar'
);
$node->__construct($structure, NULL);
'name' => '/bar'
);
$node->__construct($structure, NULL);
- $this->assertNull($node->
getParent(
));
+ $this->assertNull($node->
_call('getParent'
));
}
/**
}
/**
@@
-147,7
+147,7
@@
class RootNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
),
);
$node->__construct($structure, NULL);
),
);
$node->__construct($structure, NULL);
- $children = $node->
getChildren(
);
+ $children = $node->
_call('getChildren'
);
/** @var $child \TYPO3\CMS\install\FolderStructure\NodeInterface */
$child = $children[0];
$this->assertInstanceOf('TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode', $child);
/** @var $child \TYPO3\CMS\install\FolderStructure\NodeInterface */
$child = $children[0];
$this->assertInstanceOf('TYPO3\\CMS\\install\\FolderStructure\\DirectoryNode', $child);
@@
-170,7
+170,7
@@
class RootNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
'targetPermission' => $targetPermission,
);
$node->__construct($structure, NULL);
'targetPermission' => $targetPermission,
);
$node->__construct($structure, NULL);
- $this->assertSame($targetPermission, $node->
getTargetPermission(
));
+ $this->assertSame($targetPermission, $node->
_call('getTargetPermission'
));
}
/**
}
/**
@@
-262,3
+262,4
@@
class RootNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$this->assertSame($path, $node->getAbsolutePath());
}
}
$this->assertSame($path, $node->getAbsolutePath());
}
}
+?>
\ No newline at end of file