r100725 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100724‎ | r100725 | r100726 >
Date:18:43, 25 October 2011
Author:jpostlethwaite
Status:deferred (Comments)
Tags:fundraising 
Comment:
Added getVarMap() for unit testing.
Modified paths:
  • /trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
@@ -304,6 +304,18 @@
305305 }
306306
307307 /**
 308+ * getVarMap
 309+ *
 310+ * This method was added for unit testing.
 311+ *
 312+ * @return array Returns @see GatewayAdapter::$var_map
 313+ */
 314+ public function getVarMap() {
 315+
 316+ return $this->var_map;
 317+ }
 318+
 319+ /**
308320 * getValue
309321 *
310322 * @todo

Comments

#Comment by Khorn (WMF) (talk | contribs)   19:04, 27 October 2011

This is okay for now, but this really should be moved to the test adapter.

Status & tagging log