Project

General

Profile

Actions

Bug #24364

closed

Test failures in t3lib_tree_NodeTest if tests are in typo3_src/tests/ instead of tests/

Added by Oliver Klee almost 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-12-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

node.diff (2.18 KB) node.diff Administrator Admin, 2010-12-18 17:03
Actions #1

Updated by Susanne Moog over 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF