euromark 11 年 前
コミット
d7060ba2d5
1 ファイル変更2 行追加2 行削除
  1. 2 2
      Test/Case/View/Helper/GoogleMapV3HelperTest.php

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

@@ -290,7 +290,7 @@ class GoogleMapV3HelperTest extends MyCakeTestCase {
 		$result = $this->GoogleMapV3->script();
 		$this->assertContains('draggable: true,', $result);
 
-		$this->GoogleMapV3->map(['marker' => array('draggable' => true)]);
+		$this->GoogleMapV3->map(array('marker' => array('draggable' => true)));
 		$this->GoogleMapV3->addMarker(array(
 				'lat' => 48.69847, 'lng' => 10.9514,
 				'title' => 'Marker', 'content' => 'Some Html-<b>Content</b>'));
@@ -298,7 +298,7 @@ class GoogleMapV3HelperTest extends MyCakeTestCase {
 		$result = $this->GoogleMapV3->script();
 		$this->assertContains('draggable: true,', $result);
 
-		$this->GoogleMapV3->map(['marker' => array('draggable' => true)]);
+		$this->GoogleMapV3->map(array('marker' => array('draggable' => true)));
 		$this->GoogleMapV3->addMarker(array(
 				'lat' => 48.69847, 'lng' => 10.9514,
 				'title' => 'Marker', 'content' => 'Some Html-<b>Content</b>',