Mark Scherer 10 年 前
コミット
6be499c24c

+ 2 - 2
Test/Case/Lib/GeocodeLibTest.php

@@ -31,7 +31,7 @@ class GeocodeLibTest extends MyCakeTestCase {
 				'result_type' => 'sublocality'
 			]
 		],
-		'_fetch' => 'https://maps.googleapis.com/maps/api/geocode/json?address=40206&latlng=38.2643%2C-85.6999&language=en&sensor=false',
+		'_fetch' => 'https://maps.google.com/maps/api/geocode/json?address=40206&latlng=38.2643%2C-85.6999&language=en&sensor=false',
 		'raw' => '{
 			"results" : [
 				{
@@ -275,7 +275,7 @@ class GeocodeLibTest extends MyCakeTestCase {
 		$Method->setAccessible(true);
 
 		$is = $Method->invoke($this->Geocode);
-		$this->assertPattern('#https://maps.googleapis.com/maps/api/geocode/json#', $is);
+		$this->assertPattern('#https://maps.google.com/maps/api/geocode/json#', $is);
 	}
 
 	/**

+ 1 - 1
Test/Case/View/Helper/GoogleMapV3HelperTest.php

@@ -313,7 +313,7 @@ class GoogleMapV3HelperTest extends MyCakeTestCase {
 	 */
 	public function testDynamic() {
 		//echo '<h2>Map 1</h2>';
-		//echo '<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>';
+		//echo '<script type="text/javascript" src="http://ajax.google.com/ajax/libs/jquery/1/jquery.min.js"></script>';
 		//echo $this->GoogleMapV3->map($defaul, array('style'=>'width:100%; height: 800px'));
 		//echo '<script type="text/javascript" src="'.$this->GoogleMapV3->apiUrl().'"></script>';
 		//echo '<script type="text/javascript" src="'.$this->GoogleMapV3->gearsUrl().'"></script>';