Bug #43377

Running functional tests with PEAR install of phpunit fails

Added by Rens Admiraal over 2 years ago. Updated over 2 years ago.

Status:Resolved Start date:2012-11-28
Priority:Should have Due date:
Assigned To:Rens Admiraal % Done:

100%

Category:- Testing -
Target version:-
Affected Flow version:Git 1.2 (master)

Description

https://review.typo3.org/#/c/16659/1 introduced a regression when phpunit is installed using PEAR. This is because the autoload.php is found in composer managed installations, but this does not ensure that phpunit is actually installed using composer too.

Associated revisions

Revision a4955450
Added by Rens Admiraal over 2 years ago

[BUGFIX] Check for installation of phpunit by composer

Ib4b6c68c03590444addb7c2e5af89b2a2d90051f introduced a regression
for running functional tests when composer is used in the project,
but PHPUnit is still installed using PEAR.

This change adds an additional check to verify if phpunit is actually
installed in the Libraries folder. By doing so the Bootstrap will
fall back to the PEAR installation of phpunit.

Change-Id: I7d100a9381f87b16cb1512355fee236d2b0f7ea2
Resolves: #43377
Releases: 1.2

History

#1 Updated by Gerrit Code Review over 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16831

#2 Updated by Gerrit Code Review over 2 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16831

#3 Updated by Gerrit Code Review over 2 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16831

#4 Updated by Gerrit Code Review over 2 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/16831

#5 Updated by Rens Admiraal over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:a4955450e2a23d943176c21a6ce11b4c2fa6b48a.

Also available in: Atom PDF