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) {
|
protected function get_page($page) {
|
||||||
if($_SERVER['HTTP_HOST'] == "<cli command>") {
|
if($_SERVER['HTTP_HOST'] == "<cli command>") {
|
||||||
//print "http://127.0.0.1/2.Xm/index.php?q=$page";
|
//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 {
|
else {
|
||||||
$raw = $this->get(make_http(make_link($page)));
|
$raw = $this->get(make_http(make_link($page)));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user