civicrm / civicrm-buildkit-vagrant

MIT License
21 stars 19 forks source link

phpunit4 PHP Fatal error: Cannot redeclare #27

Open tealborder opened 7 years ago

tealborder commented 7 years ago

From the civicrm root, running env CIVICRM_UF=UnitTests phpunit4 ./tests/phpunit/CRM/AllTests.php returns PHP Fatal error: Cannot redeclare civicrm_api3_price_field_value_create()

printenv shows CIVICRM_UF=UnitTests is set

NO phpunit4 ./tests/phpunit/CRM/AllTests.php (returns error above) OK phpunit4 tests/phpunit/CRM/Contact/BAO/IndividualTest.php OK phpunit4 ./tests/phpunit/CRM/Contact/BAO/IndividualTest.php OK phpunit4 ./tests/phpunit/CRM/PCP/BAO/PCPTest.php OK phpunit4 tests/phpunit/api/v3/PriceFieldTest.php OK phpunit4 tests/phpunit/api/v3/PriceFieldValueTest.php NO phpunit4 tests/phpunit/api/v3/PcpTest.php (returns cannot redeclare civicrm_api3_pcp_create())

Any ideas? Disabled opcache and same issue. Cant find where to disable memcache.