wiki.techinc.nl/tests/phpunit/MediaWikiTestResult.php
Max Semenik fb06e4cd85 Update tests to use PHPUnit 6 class names
Bug: T192167
Change-Id: I42b0c8908b4968b95b08f861a40af18dc79fa0a1
2019-10-06 01:01:28 -07:00

19 lines
342 B
PHP

<?php
use PHPUnit\Framework\TestResult;
class MediaWikiTestResult extends TestResult {
private $cliArgs;
public function __construct( array $cliArgs ) {
$this->cliArgs = $cliArgs;
}
/**
* Get the command-line arguments from phpunit.php
* @return array
*/
public function getMediaWikiCliArgs() {
return $this->cliArgs;
}
}