|
@@ -1,6 +1,6 @@ discard block |
|
|
block discarded – undo |
|
1
|
1
|
<?php |
|
2
|
2
|
|
|
3
|
|
-include_once __DIR__ . '/LoggerAwareTestCase.php'; |
|
|
3
|
+include_once __DIR__.'/LoggerAwareTestCase.php'; |
|
4
|
4
|
|
|
5
|
5
|
use PHPUnit\Extensions\SeleniumCommon\RemoteCoverage; |
|
6
|
6
|
use PHPUnit\Framework\TestResult; |
|
@@ -28,7 +28,7 @@ discard block |
|
|
block discarded – undo |
|
28
|
28
|
*/ |
|
29
|
29
|
public function _run($result = NULL) |
|
30
|
30
|
{ |
|
31
|
|
- $this->testId = get_class($this) . '__' . $this->getName(); |
|
|
31
|
+ $this->testId = get_class($this).'__'.$this->getName(); |
|
32
|
32
|
|
|
33
|
33
|
if ($result === NULL) { |
|
34
|
34
|
$result = $this->createResult(); |
|
@@ -59,7 +59,7 @@ discard block |
|
|
block discarded – undo |
|
59
|
59
|
parent::set_up(); |
|
60
|
60
|
|
|
61
|
61
|
// assumes HTTPURI to be in the form /tests/index.php?etc... |
|
62
|
|
- $this->baseUrl = 'http://' . $this->args['HTTPSERVER'] . preg_replace('|\?.+|', '', $this->args['HTTPURI']); |
|
63
|
|
- $this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . preg_replace('|/tests/index\.php(\?.*)?|', '/tests/phpunit_coverage.php', $this->args['HTTPURI']); |
|
|
62
|
+ $this->baseUrl = 'http://'.$this->args['HTTPSERVER'].preg_replace('|\?.+|', '', $this->args['HTTPURI']); |
|
|
63
|
+ $this->coverageScriptUrl = 'http://'.$this->args['HTTPSERVER'].preg_replace('|/tests/index\.php(\?.*)?|', '/tests/phpunit_coverage.php', $this->args['HTTPURI']); |
|
64
|
64
|
} |
|
65
|
65
|
} |
Please login to merge, or discard this patch.