@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | public function test_set_map_size() { |
27 | - MapUtil::set_map_size('890px','24em'); |
|
27 | + MapUtil::set_map_size('890px','24em'); |
|
28 | 28 | $html = $this->htmlForMap(); |
29 | 29 | $this->assertContains(' style="width:890px; height: 24em;"', $html); |
30 | 30 | } |
@@ -79,25 +79,25 @@ discard block |
||
79 | 79 | |
80 | 80 | // These appear to test code that's not used |
81 | 81 | public function test_set_center() { |
82 | - MapUtil::set_center('Bangkok, Thailand'); |
|
82 | + MapUtil::set_center('Bangkok, Thailand'); |
|
83 | 83 | $html = $this->htmlForMap(); |
84 | 84 | echo $html; |
85 | 85 | $this->fail('No evidence of map type changing'); |
86 | - } |
|
86 | + } |
|
87 | 87 | |
88 | - public function test_set_map_type() { |
|
89 | - MapUtil::set_map_type('google.maps.MapTypeId.G_PHYSICAL_MAP'); |
|
88 | + public function test_set_map_type() { |
|
89 | + MapUtil::set_map_type('google.maps.MapTypeId.G_PHYSICAL_MAP'); |
|
90 | 90 | $html = $this->htmlForMap(); |
91 | 91 | echo $html; |
92 | 92 | $this->fail('No evidence of map type changing'); |
93 | - } |
|
93 | + } |
|
94 | 94 | |
95 | - public function test_set_info_window_width() { |
|
96 | - $this->fail('No evidence of set info width being used'); |
|
97 | - } |
|
95 | + public function test_set_info_window_width() { |
|
96 | + $this->fail('No evidence of set info width being used'); |
|
97 | + } |
|
98 | 98 | |
99 | - public function test_set_icon_size() { |
|
99 | + public function test_set_icon_size() { |
|
100 | 100 | |
101 | - } |
|
101 | + } |
|
102 | 102 | |
103 | 103 | } |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | } |
25 | 25 | |
26 | 26 | public function test_set_map_size() { |
27 | - MapUtil::set_map_size('890px','24em'); |
|
27 | + MapUtil::set_map_size('890px', '24em'); |
|
28 | 28 | $html = $this->htmlForMap(); |
29 | 29 | $this->assertContains(' style="width:890px; height: 24em;"', $html); |
30 | 30 | } |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | private function htmlForMap() { |
74 | - $map = MapUtil::get_map(new ArrayList(),array()); |
|
74 | + $map = MapUtil::get_map(new ArrayList(), array()); |
|
75 | 75 | $html = $map->forTemplate(); |
76 | 76 | return $html; |
77 | 77 | } |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | $this->fail('No evidence of map type changing'); |
93 | 93 | } |
94 | 94 | |
95 | - public function test_set_info_window_width() { |
|
95 | + public function test_set_info_window_width() { |
|
96 | 96 | $this->fail('No evidence of set info width being used'); |
97 | 97 | } |
98 | 98 |