Bug #24364
closedTest failures in t3lib_tree_NodeTest if tests are in typo3_src/tests/ instead of tests/
0%
Description
serializeFixture
! Failure in test case serializeFixture
File: /home/klee/eclipse/typo3_src/tests/t3lib/tree/t3lib_tree_nodeTest.php
Line: 100:
Description
Failed asserting that <string:a:4:...Action";}}}}}> is identical to <string:>.
deserializeFixture
! Error in test case deserializeFixture
in file /home/klee/eclipse/typo3_src/tests/t3lib/tree/t3lib_tree_nodeTest.php
on line 109:
Message:
Deserialized object type is not identical!
This happens because the fixtures directory is incorrect when the tests are located in PATH_site . typo3_src/tests/ instead of in PATH_site . tests/.
The patch also changes the following things:
1. drop a LF after ?>
2. adds a missing pair of parenthesis after a "new"
3. drop the empty setUp function
(issue imported from #M16778)
Files