projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'upstream/4.5' into 4.5-master-2014-10-02-07-53-58
[civicrm-core.git]
/
tests
/
phpunit
/
CiviTest
/
AuthorizeNet.php
diff --git
a/tests/phpunit/CiviTest/AuthorizeNet.php
b/tests/phpunit/CiviTest/AuthorizeNet.php
index 13bae28459de746a615d9c7e25470f4aa467cdb7..f39e0027d45ac14fac86f444aa99179275aca445 100644
(file)
--- a/
tests/phpunit/CiviTest/AuthorizeNet.php
+++ b/
tests/phpunit/CiviTest/AuthorizeNet.php
@@
-1,4
+1,8
@@
<?php
<?php
+
+/**
+ * Class AuthorizeNet
+ */
class AuthorizeNet extends PHPUnit_Framework_Testcase {
/*
* Helper function to create
class AuthorizeNet extends PHPUnit_Framework_Testcase {
/*
* Helper function to create
@@
-6,6
+10,9
@@
class AuthorizeNet extends PHPUnit_Framework_Testcase {
*
* @return $paymentProcessor id of created payment processor
*/
*
* @return $paymentProcessor id of created payment processor
*/
+ /**
+ * @return CRM_Financial_DAO_PaymentProcessor
+ */
function create() {
$paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
function create() {
$paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
@@
-36,6
+43,11
@@
class AuthorizeNet extends PHPUnit_Framework_Testcase {
* @return boolean true if payment processor deleted, false otherwise
*
*/
* @return boolean true if payment processor deleted, false otherwise
*
*/
+ /**
+ * @param $id
+ *
+ * @return mixed
+ */
function delete($id) {
$paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
$paymentProcessor->id = $id;
function delete($id) {
$paymentProcessor = new CRM_Financial_DAO_PaymentProcessor();
$paymentProcessor->id = $id;