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