Completed
Branch AUTOMATED_TESTING (09d9f2)
by Gordon
13:24
created
tests/MapUtilTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 	}
33 33
 
34 34
 	public function test_set_map_size() {
35
-		MapUtil::set_map_size('890px','24em');
35
+		MapUtil::set_map_size('890px', '24em');
36 36
 		$html = $this->htmlForMap();
37 37
 		$this->assertContains(' style="width:890px; height: 24em;"', $html);
38 38
 	}
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 		$member->Lon = 29.24;
80 80
 		$list = new ArrayList();
81 81
 		$list->push($member);
82
-		$map = MapUtil::get_map($list,array());
82
+		$map = MapUtil::get_map($list, array());
83 83
 		$html = $map->forTemplate();
84 84
 		echo $html;
85 85
 		$this->fail('No change observed in generated HTML');
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	}
88 88
 
89 89
 	private function htmlForMap() {
90
-		$map = MapUtil::get_map(new ArrayList(),array());
90
+		$map = MapUtil::get_map(new ArrayList(), array());
91 91
 		$html = $map->forTemplate();
92 92
 		return $html;
93 93
 	}
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
 		$this->fail('No evidence of map type changing');
109 109
 	}
110 110
 
111
-	 public function test_set_info_window_width()  {
111
+	 public function test_set_info_window_width() {
112 112
 	 	$this->fail('No evidence of set info width being used');
113 113
 	}
114 114
 
Please login to merge, or discard this patch.