euromark 12 年之前
父节点
当前提交
6c4265f631
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Test/Case/View/RssViewTest.php

+ 1 - 1
Test/Case/View/RssViewTest.php

@@ -35,7 +35,7 @@ class RssViewTest extends CakeTestCase {
 
 		$this->Rss = new RssView();
 
-		$this->baseUrl = $this->baseUrl = php_sapi_name() == 'cli' ? '' : HTTP_BASE;
+		$this->baseUrl = $this->baseUrl = php_sapi_name() == 'cli' ? 'http://localhost' : HTTP_BASE;
 	}
 
 	/**