mirror of
https://github.com/e107inc/e107.git
synced 2025-04-04 20:52:34 +02:00
Fixed default siteurl value. Added test for e107::url()
This commit is contained in:
parent
5abe07678b
commit
ad94ebc734
File diff suppressed because one or more lines are too long
@ -757,13 +757,20 @@
|
||||
$res = null;
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
*/
|
||||
public function testUrl()
|
||||
{
|
||||
$res = null;
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
$obj = $this->e107;
|
||||
|
||||
$result = $obj::url('news','index', array(), array('mode'=>'full'));
|
||||
|
||||
$this->assertEquals("https://localhost/e107/news", $result);
|
||||
// var_dump(SITEURL);
|
||||
|
||||
|
||||
// $this->assertTrue($res);
|
||||
}
|
||||
/*
|
||||
public function testRedirect()
|
||||
{
|
||||
$res = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user