Skip to content

Commit

Permalink
Merge branch '7.5' into 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 6, 2019
2 parents b827cc9 + ec19f16 commit e1f3cb9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/end-to-end/cli/columns-max.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--TEST--
phpunit --columns=max BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--columns=max';
$_SERVER['argv'][3] = 'BankAccountTest';
$_SERVER['argv'][4] = __DIR__ . '/../../_files/BankAccountTest.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

... 3 / 3 (100%)

Time: %s, Memory: %s

OK (3 tests, 3 assertions)
19 changes: 19 additions & 0 deletions tests/end-to-end/cli/columns.phpt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
--TEST--
phpunit --columns=40 BankAccountTest ../../_files/BankAccountTest.php
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][1] = '--no-configuration';
$_SERVER['argv'][2] = '--columns=40';
$_SERVER['argv'][3] = 'BankAccountTest';
$_SERVER['argv'][4] = __DIR__ . '/../../_files/BankAccountTest.php';

require __DIR__ . '/../../bootstrap.php';
PHPUnit\TextUI\Command::main();
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

... 3 / 3 (100%)

Time: %s, Memory: %s

OK (3 tests, 3 assertions)

0 comments on commit e1f3cb9

Please sign in to comment.