[BUGFIX] Skip unit test depending on Composer mode 26/44026/2
authorNicole Cordes <typo3@cordes.co>
Tue, 13 Oct 2015 09:24:14 +0000 (11:24 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 22 Oct 2015 08:54:32 +0000 (10:54 +0200)
commitff91a5d0d2040f570dccd5719f03c64554507bcd
tree63a883bec590670ccdc05d97e0b1413e83b678c8
parent92301f24a5f93b6a67688aafbd61813f918886f0
[BUGFIX] Skip unit test depending on Composer mode

The test isCoreUpdateEnabledReturnsTrueForEnvironmentVariableNotSet in
\TYPO3\CMS\Install\Service\CoreUpdateServiceTest depends on the
TYPO3_COMPOSER_MODE environment variable. This test should be skipped
if unit tests are running in Composer mode. An additional test for the
Composer mode is added to ensure the updater returns false.

Resolves: #70648
Releases: master
Change-Id: Iaedd9d0ab2c3877924fc41a6f9e2d4692c6d2f0a
Reviewed-on: https://review.typo3.org/44026
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/install/Tests/Unit/Service/CoreUpdateServiceTest.php