[TYPO3-core] RFC #13737: Bug: Unit test failures in scheduler tests if only the required system extensions are installed

Oliver Klee typo3-german-02 at oliverklee.de
Fri Mar 26 19:39:00 CET 2010


This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=13737

Branches:
TYPO3_4-3 & trunk

Problem:
If I uninstall all system extensions except for the required ones (lang,
cms, sv), I get some test failures.

These tests should automatically get skipped if the corresponding
extension is not installed.

Testsuite: tx_scheduler_croncmd_testcase

isDayListCorrectForOneDayOfMonth
! Error in test case isDayListCorrectForOneDayOfMonth
in file /home/klee/eclipse/typo3_src/t3lib/class.t3lib_div.php
on line 4935:
Message:
Class tx_scheduler_cronCmd does not exist

etc.


Solution:
Skip the scheduler tests if the extension is not installed.


Oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13737.diff
Type: text/x-patch
Size: 2364 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100326/aef1297e/attachment.bin>


More information about the TYPO3-team-core mailing list