projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests/phpunit/** - Remove unnecessary "require_once" statements
[civicrm-core.git]
/
tests
/
phpunit
/
CRM
/
Core
/
PseudoConstantTest.php
diff --git
a/tests/phpunit/CRM/Core/PseudoConstantTest.php
b/tests/phpunit/CRM/Core/PseudoConstantTest.php
index 7433bab1eb702af07bfe24e9f5f59d554474fe03..4cd2dc58066a4b35757a548e18765b7325a0a839 100644
(file)
--- a/
tests/phpunit/CRM/Core/PseudoConstantTest.php
+++ b/
tests/phpunit/CRM/Core/PseudoConstantTest.php
@@
-25,8
+25,6
@@
+--------------------------------------------------------------------+
*/
+--------------------------------------------------------------------+
*/
-require_once 'CiviTest/CiviUnitTestCase.php';
-
/**
* Tests for pseudoconstant retrieval
*/
/**
* Tests for pseudoconstant retrieval
*/
@@
-88,7
+86,7
@@
class CRM_Core_PseudoConstantTest extends CiviUnitTestCase {
$pp_name = md5(microtime());
$api_params = array(
'domain_id' => 1,
$pp_name = md5(microtime());
$api_params = array(
'domain_id' => 1,
- 'payment_processor_type_id' =>
10
,
+ 'payment_processor_type_id' =>
'Dummy'
,
'name' => $pp_name,
'user_name' => $pp_name,
'class_name' => 'Payment_Dummy',
'name' => $pp_name,
'user_name' => $pp_name,
'class_name' => 'Payment_Dummy',
@@
-693,10
+691,6
@@
class CRM_Core_PseudoConstantTest extends CiviUnitTestCase {
),
),
'CRM_Core_DAO_MappingField' => array(
),
),
'CRM_Core_DAO_MappingField' => array(
- array(
- 'fieldName' => 'contact_type',
- 'sample' => 'Individual',
- ),
array(
'fieldName' => 'website_type_id',
'sample' => 'Facebook',
array(
'fieldName' => 'website_type_id',
'sample' => 'Facebook',