http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100725
Revision: 100725
Author: jpostlethwaite
Date: 2011-10-25 18:43:35 +0000 (Tue, 25 Oct 2011)
Log Message:
-----------
Added getVarMap() for unit testing.
Modified Paths:
--------------
trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
Modified: trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
===================================================================
--- trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
2011-10-25 18:40:48 UTC (rev 100724)
+++ trunk/extensions/DonationInterface/gateway_common/gateway.adapter.php
2011-10-25 18:43:35 UTC (rev 100725)
@@ -304,6 +304,18 @@
}
/**
+ * getVarMap
+ *
+ * This method was added for unit testing.
+ *
+ * @return array Returns @see GatewayAdapter::$var_map
+ */
+ public function getVarMap() {
+
+ return $this->var_map;
+ }
+
+ /**
* getValue
*
* @todo
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs