Issue Bug Closed

#24362Unit test crashes in t3lib_tree_SortedNodeCollectionTest

Oliver Klee 12/18/10, 16:23 updated 03/29/11, 23:46

Description

addNodesSorted

Fatal error: Call to undefined method t3lib_tree_SortedNodeCollection::addNode() in /home/klee/eclipse/typo3_src/tests/t3lib/tree/t3lib_tree_sortednodecollectionTest.php on line 43

removeNodeByNodeId

Fatal error: Call to undefined method t3lib_tree_SortedNodeCollection::removeNode() in /home/klee/eclipse/typo3_src/tests/t3lib/tree/t3lib_tree_sortednodecollectionTest.php on line 86

This is because

1. addNode now is named append

2. removeNode has been remove completely

This happens with the latest Core trunk.

In addition, the test removes the empty setUp and tearDown methods and drops a NL after the ?>.
(issue imported from #M16776)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.