Commit 6dd9bddc authored by jhassine's avatar jhassine

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

parent 4bb224a3
......@@ -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();
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment