示例#1
0
文件: ConfigTests.php 项目: werx/core
 public function testGetBaseUrlShouldReturnConfigItem()
 {
     $_SERVER['SERVER_NAME'] = 'localhost';
     $config = new Config($this->getAppDir());
     $this->assertEquals('http://test.server.name/werx/', $config->getBaseUrl());
 }