File: order-by-default-invalid-via-cli.phpt

package info (click to toggle)
phpunit 12.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,004 kB
  • sloc: php: 102,323; xml: 2,115; makefile: 124; sh: 99
file content (15 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
phpunit --order-by=default,foobar
--FILE--
<?php declare(strict_types=1);
$_SERVER['argv'][] = '--do-not-cache-result';
$_SERVER['argv'][] = '--no-configuration';
$_SERVER['argv'][] = '--order-by=default,foobar';

require_once __DIR__ . '/../../bootstrap.php';

(new PHPUnit\TextUI\Application)->run($_SERVER['argv']);
--EXPECTF--
PHPUnit %s by Sebastian Bergmann and contributors.

unrecognized --order-by option: foobar