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.
From the civicrm root, running
env CIVICRM_UF=UnitTests phpunit4 ./tests/phpunit/CRM/AllTests.php
returnsPHP 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.