hackily fix non-niceurl'ed tests
This commit is contained in:
parent
27c06f02ce
commit
c1fbf128c9
@ -112,7 +112,7 @@ class SCoreWebTestCase extends WebTestCase {
|
||||
protected function get_page($page) {
|
||||
if($_SERVER['HTTP_HOST'] == "<cli command>") {
|
||||
//print "http://127.0.0.1/2.Xm/index.php?q=$page";
|
||||
$raw = $this->get("http://127.0.0.1/2.Xm/index.php?q=$page");
|
||||
$raw = $this->get("http://127.0.0.1/2.Xm/index.php?q=".str_replace("?", "&", $page));
|
||||
}
|
||||
else {
|
||||
$raw = $this->get(make_http(make_link($page)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user