Completed
Push — AUTOMATED_TESTING ( 4cfed4...8e1a94 )
by Gordon
18:08
created
tests/MapExtensionTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -256,6 +256,10 @@  discard block
 block discarded – undo
256 256
 	/*
257 257
 	Add a map layer to an existing instance
258 258
 	 */
259
+
260
+	/**
261
+	 * @param Member $instance
262
+	 */
259 263
 	private function addLayerToInstance(&$instance) {
260 264
 		// Create a layer
261 265
 		$kmlFile = new File(array('Name' => 'example.kml', 'Filename' => 'mappable/tests/kml/example.kml'));
@@ -269,6 +273,9 @@  discard block
 block discarded – undo
269 273
 		$layers->add($layer);
270 274
 	}
271 275
 
276
+	/**
277
+	 * @param Member $instance
278
+	 */
272 279
 	private function addMapPinToInstance(&$instance) {
273 280
 		// Create a pin
274 281
 		$imageFile = new Image(array('Name' => 'mapicontest.png', 'Filename' => 'mappable/tests/images/mapicontest.png'));
Please login to merge, or discard this patch.
tests/MappableDataTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -185,6 +185,9 @@
 block discarded – undo
185 185
 	}
186 186
 
187 187
 
188
+	/**
189
+	 * @param Member $instance
190
+	 */
188 191
 	private function addMapPinToInstance(&$instance) {
189 192
 		// Create a pin
190 193
 		$imageFile = new Image(array('Name' => 'mapicontest.png', 'Filename' => 'mappable/tests/images/mapicontest.png'));
Please login to merge, or discard this patch.
tests/MappableDataObjectSetTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 		$vals = array('TestKey' => ' TestKeyValMDOS');
32 32
 		$mappableList->setMarkerTemplateValues($vals);
33 33
 
34
-		$html = $mappableList->getRenderableMap(300,800,2)->setDivId('testmap')->forTemplate()->getValue();
34
+		$html = $mappableList->getRenderableMap(300, 800, 2)->setDivId('testmap')->forTemplate()->getValue();
35 35
 		$expected = <<<HTML
36 36
 
37 37
 
Please login to merge, or discard this patch.