Skip to content

Commit

Permalink
Merge pull request #1443 from samsonasik/fix-unit-test-output-capture…
Browse files Browse the repository at this point in the history
…d-1435

Fixes #1435 : unit test output not captured
  • Loading branch information
jim-parry authored Nov 9, 2018
2 parents 818808c + 788d1bd commit 53f17e8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/system/Test/BootstrapFCPATHTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ private function fileContents(){
}

private function readOutput($file){
return system('php -f ' . $file);
ob_start();
system('php -f ' . $file);
return ob_get_clean();
}


Expand Down

0 comments on commit 53f17e8

Please sign in to comment.