projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
unit test fixes 4.7beta4
[civicrm-core.git]
/
tests
/
phpunit
/
api
/
v3
/
CustomValueTest.php
diff --git
a/tests/phpunit/api/v3/CustomValueTest.php
b/tests/phpunit/api/v3/CustomValueTest.php
index 05dde076c550e2539f06df03f3e71d2146796c5f..b1fa3cb66d008394a3d938377a8ec854e018a82f 100644
(file)
--- a/
tests/phpunit/api/v3/CustomValueTest.php
+++ b/
tests/phpunit/api/v3/CustomValueTest.php
@@
-109,14
+109,15
@@
class api_v3_CustomValueTest extends CiviUnitTestCase {
foreach ($customFieldDataType as $dataType => $label) {
switch ($dataType) {
foreach ($customFieldDataType as $dataType => $label) {
switch ($dataType) {
+ case 'Country':
+ case 'StateProvince':
+ $this->foreignKeyChecksOff();
case 'String':
case 'Link':
case 'Int':
case 'Float':
case 'Money':
case 'Date':
case 'String':
case 'Link':
case 'Int':
case 'Float':
case 'Money':
case 'Date':
- case 'Country':
- case 'StateProvince':
case 'Boolean':
//Based on the custom field data-type choose desired SQL operators(to test with) and basic $type
case 'Boolean':
//Based on the custom field data-type choose desired SQL operators(to test with) and basic $type