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

+ 1 - 1
Test/Case/Lib/Utility/UtilityTest.php

@@ -185,7 +185,7 @@ class UtilityTest extends MyCakeTestCase {
 		$res = Utility::getReferer(true);
 		$base = HTTP_BASE;
 		if (!$base) {
-			$base = 'http://localhost/';
+			$base = 'http://localhost';
 		}
 		$this->assertEquals($base . env('HTTP_REFERER'), $res);
 	}