projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update Unit test styling to cover the future coder version
[civicrm-core.git]
/
tests
/
phpunit
/
api
/
v3
/
OrderTest.php
diff --git
a/tests/phpunit/api/v3/OrderTest.php
b/tests/phpunit/api/v3/OrderTest.php
index 7f18041fdddcaf153e2e4508e27137c3d17b3221..f1302a844f66f5ee89cbcfce3c72cba0d8bcd0e1 100644
(file)
--- a/
tests/phpunit/api/v3/OrderTest.php
+++ b/
tests/phpunit/api/v3/OrderTest.php
@@
-34,9
+34,6
@@
*/
class api_v3_OrderTest extends CiviUnitTestCase {
*/
class api_v3_OrderTest extends CiviUnitTestCase {
- /**
- * Assume empty database with just civicrm_data.
- */
protected $_individualId;
protected $_financialTypeId = 1;
protected $_apiversion;
protected $_individualId;
protected $_financialTypeId = 1;
protected $_apiversion;
@@
-557,7
+554,7
@@
class api_v3_OrderTest extends CiviUnitTestCase {
'financial_type_id' => 1,
'entity_table' => 'civicrm_contribution',
],
'financial_type_id' => 1,
'entity_table' => 'civicrm_contribution',
],
- ]
+ ]
,
],
],
];
],
],
];
@@
-592,7
+589,7
@@
class api_v3_OrderTest extends CiviUnitTestCase {
'entity_table' => 'civicrm_contribution',
'tax_amount' => 15,
],
'entity_table' => 'civicrm_contribution',
'tax_amount' => 15,
],
- ]
+ ]
,
],
],
];
],
],
];
@@
-623,7
+620,7
@@
class api_v3_OrderTest extends CiviUnitTestCase {
'entity_table' => 'civicrm_contribution',
'tax_amount' => 15,
],
'entity_table' => 'civicrm_contribution',
'tax_amount' => 15,
],
- ]
+ ]
,
],
],
];
],
],
];