1
0
mirror of synced 2024-12-13 06:46:03 +03:00

If tests are run from command line uses text reporter instead of HTML.

This commit is contained in:
jhassine 2006-09-25 07:10:37 +00:00
parent 4bb224a3fc
commit 6dd9bddc71

View File

@ -113,6 +113,9 @@ class MyReporter extends HtmlReporter {
}
}
if (TextReporter::inCli()) {
exit ($test->run(new TextReporter()) ? 0 : 1);
}
$test->run(new MyReporter());
$output = ob_get_clean();
/**