浏览代码

better test

euromark 11 年之前
父节点
当前提交
3ede42d6ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Test/Case/View/Helper/GoogleMapV3HelperTest.php

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

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