test configurable root
This commit is contained in:
parent
b0e4b4390b
commit
f93c3bbe76
@ -230,6 +230,15 @@ class SemanticScuttle_EnvironmentTest extends PHPUnit_Framework_TestCase
|
||||
);
|
||||
}
|
||||
|
||||
public function testGetRootWithConfigPreset()
|
||||
{
|
||||
$GLOBALS['root'] = 'https://happy.penguin.example.org/walks/away/';
|
||||
$this->assertEquals(
|
||||
'https://happy.penguin.example.org/walks/away/',
|
||||
SemanticScuttle_Environment::getRoot()
|
||||
);
|
||||
}
|
||||
|
||||
public function testGetRootInRootDir()
|
||||
{
|
||||
$_SERVER = array(
|
||||
|
Loading…
Reference in New Issue
Block a user