|
@@ -1,6 +1,6 @@ discard block |
|
|
block discarded – undo |
|
1
|
1
|
<?php |
|
2
|
2
|
|
|
3
|
|
-include_once __DIR__ . '/WebTestCase.php'; |
|
|
3
|
+include_once __DIR__.'/WebTestCase.php'; |
|
4
|
4
|
|
|
5
|
5
|
/** |
|
6
|
6
|
* Tests for php files in the 'demo' directory |
|
@@ -12,8 +12,8 @@ discard block |
|
|
block discarded – undo |
|
12
|
12
|
$this->args = argParser::getArgs(); |
|
13
|
13
|
|
|
14
|
14
|
// assumes HTTPURI to be in the form /tests/index.php?etc... |
|
15
|
|
- $this->baseUrl = $this->args['HTTPSERVER'] . preg_replace('|\?.+|', '', $this->args['HTTPURI']); |
|
16
|
|
- $this->coverageScriptUrl = 'http://' . $this->args['HTTPSERVER'] . preg_replace('|/tests/index\.php(\?.*)?|', '/tests/phpunit_coverage.php', $this->args['HTTPURI']); |
|
|
15
|
+ $this->baseUrl = $this->args['HTTPSERVER'].preg_replace('|\?.+|', '', $this->args['HTTPURI']); |
|
|
16
|
+ $this->coverageScriptUrl = 'http://'.$this->args['HTTPSERVER'].preg_replace('|/tests/index\.php(\?.*)?|', '/tests/phpunit_coverage.php', $this->args['HTTPURI']); |
|
17
|
17
|
} |
|
18
|
18
|
|
|
19
|
19
|
public function testVardemo() |
Please login to merge, or discard this patch.