Bug #27724

Missing vfsStream produces empty output

Added by Bastian Waidelich about 4 years ago. Updated about 4 years ago.

Status:Resolved Start date:2011-06-27
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:-
Target version:1.0 beta 1
Affected Flow version:

Description

PHPUnit dies without output if vfsStream is not available.
This is fixed for me by replacing the line

@require_once('vfsStream/vfsStream.php');

with
@include_once('vfsStream/vfsStream.php');

in UnitTestBootstrap.php

@Karsten: I'm assigning this to you cause I don't have commit rights for BuildEssentials.git

History

#1 Updated by Karsten Dambekalns about 4 years ago

  • Status changed from New to Accepted
  • Target version set to 1.0 beta 1

#2 Updated by Karsten Dambekalns about 4 years ago

  • Status changed from Accepted to Needs Feedback

Well, I get this output:

$ phpunit -c Build/Common/PhpUnit/UnitTests.xml

FLOW3 Bootstrap Error: The unit test bootstrap requires vfsStream to be installed (e.g. via PEAR).
Please also make sure that it is accessible via the PHP include path.

Why does this not work for you?

#3 Updated by Mr. Hudson about 4 years ago

Patch set 1 of change I0f4e1ba4ba012029ed18f0ff891099af1c2dee87 has been pushed to the review server.
It is available at http://review.typo3.org/2944

#4 Updated by Karsten Dambekalns about 4 years ago

  • Status changed from Needs Feedback to Under Review

#5 Updated by Bastian Waidelich about 4 years ago

Karsten Dambekalns wrote:

Well, I get this output:

[...]

Why does this not work for you?

For the record: I don't know ;)
error_reporting was on full throttle and display_errors on obviously..

#6 Updated by Karsten Dambekalns about 4 years ago

Bastian Waidelich wrote:

For the record: I don't know ;)

But I do (now), see commit message.

#7 Updated by Karsten Dambekalns about 4 years ago

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

Also available in: Atom PDF