Actions
Bug #55269
closedException in UnitTests with installed EXT:workspace
Start date:
2014-01-23
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
How to reproduce:
- Be sure that EXT:workspaces is installed
- Activate the PHPUnit Module in the BE
- Leave the selector on "All extensions"
- Hit "Run all tests"
You should get this warning immediately:
Warning: Uncaught exception 'PHPUnit_Framework_Error_Warning' with message 'require_once(ORIGINAL_ROOTtypo3/sysext/core/Tests/Functional/DataHandling/InlineRelationalRecordEditing/AbstractTestCase.php): failed to open stream: No such file or directory'
This happens because of the line
require_once(ORIGINAL_ROOT . 'typo3/sysext/core/Tests/Functional/DataHandling/InlineRelationalRecordEditing/AbstractTestCase.php');in typo3\sysext\workspaces\Tests\Functional\DataHandling\InlineRelationalRecordEditing\AbstractTestCase.php
Updated by Markus Klein almost 11 years ago
- Status changed from New to Accepted
- Assignee set to Oliver Hader
Functional tests should all be skipped when running the unit tests in BE.
This is already checked for some core functional tests, but obviously not in the workspaces extension.
But honestly, I've no idea how to solve that easily because the constant is used in a require_once statement.
Since Olly is assigned to the "Workspaces Test-Cases and Fixes" workpackage, I take the freedom to assign him here.
Updated by Mathias Schreiber almost 10 years ago
- Status changed from Accepted to Rejected
- Assignee deleted (
Oliver Hader)
Actions