euromark 12 years ago
parent
commit
e056a387e5
1 changed files with 1 additions and 1 deletions
  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);
 		$res = Utility::getReferer(true);
 		$base = HTTP_BASE;
 		$base = HTTP_BASE;
 		if (!$base) {
 		if (!$base) {
-			$base = 'http://localhost/';
+			$base = 'http://localhost';
 		}
 		}
 		$this->assertEquals($base . env('HTTP_REFERER'), $res);
 		$this->assertEquals($base . env('HTTP_REFERER'), $res);
 	}
 	}