Yaffs site version 1.1
[yaffs-website] / vendor / phpunit / phpunit / tests / Regression / GitHub / 1570.phpt
1 --TEST--
2 GH-1570: Test that prints output is marked as failure and not as risky when --disallow-test-output is used
3 --FILE--
4 <?php
5 $_SERVER['argv'][1] = '--no-configuration';
6 $_SERVER['argv'][2] = '--disallow-test-output';
7 $_SERVER['argv'][3] = 'Issue1570Test';
8 $_SERVER['argv'][4] = dirname(__FILE__) . '/1570/Issue1570Test.php';
9
10 require __DIR__ . '/../../bootstrap.php';
11 PHPUnit_TextUI_Command::main();
12 ?>
13 --EXPECTF--
14 PHPUnit %s by Sebastian Bergmann and contributors.
15
16 R*
17
18 Time: %s, Memory: %s
19
20 OK, but incomplete, skipped, or risky tests!
21 Tests: 1, Assertions: 0, Risky: 1.