Skip to content

Instantly share code, notes, and snippets.

@monishdeb
Created May 7, 2018 10:31
Show Gist options
  • Save monishdeb/a3b4463227455bec32dc7e4d2137b112 to your computer and use it in GitHub Desktop.
Save monishdeb/a3b4463227455bec32dc7e4d2137b112 to your computer and use it in GitHub Desktop.
phpunit5 tests/phpunit/CRM/AllTests.php
Installing civicrm47_drupal_test database
PHPUnit 5.7.27 by Sebastian Bergmann and contributors.
............................................F........E....... 61 / 1867 ( 3%)
............................................................. 122 / 1867 ( 6%)
............................................................. 183 / 1867 ( 9%)
............................................................. 244 / 1867 ( 13%)
............................................................. 305 / 1867 ( 16%)
............................................................. 366 / 1867 ( 19%)
............................................................. 427 / 1867 ( 22%)
............................................................. 488 / 1867 ( 26%)
............................................................. 549 / 1867 ( 29%)
...............................................Parsing schema description /Users/monish/www/civicrm-master/sites/all/modules/civicrm/xml/schema/Schema.xml
Extracting database information
Extracting table information
.Parsing schema description /Users/monish/www/civicrm-master/sites/all/modules/civicrm/xml/schema/Schema.xml
Extracting database information
Extracting table information
...........FF 610 / 1867 ( 32%)
FFFFF........................................................ 671 / 1867 ( 35%)
............................................................. 732 / 1867 ( 39%)
............................................................. 793 / 1867 ( 42%)
............................................................. 854 / 1867 ( 45%)
.............................................SW.............. 915 / 1867 ( 49%)
............................................................. 976 / 1867 ( 52%)
............................................................. 1037 / 1867 ( 55%)
............................................................. 1098 / 1867 ( 58%)
............................................................. 1159 / 1867 ( 62%)
.........F..F................................................ 1220 / 1867 ( 65%)
............................................................. 1281 / 1867 ( 68%)
............................................................. 1342 / 1867 ( 71%)
...................................PHP Fatal error: Cannot redeclare civicrm_api3_price_field_value_create() (previously declared in /Users/monish/src/civicrm/api/v3/PriceFieldValue.php:47) in /Users/monish/src/civicrm/api/v3/Pricefieldvalue.php on line 59
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/phpunit5:0
PHP 2. PHPUnit_TextUI_Command::main() /usr/local/bin/phpunit5:598
PHP 3. PHPUnit_TextUI_Command->run() phar:///usr/local/bin/phpunit5/phpunit/TextUI/Command.php:116
PHP 4. PHPUnit_TextUI_TestRunner->doRun() phar:///usr/local/bin/phpunit5/phpunit/TextUI/Command.php:186
PHP 5. PHPUnit_Framework_TestSuite->run() phar:///usr/local/bin/phpunit5/phpunit/TextUI/TestRunner.php:517
PHP 6. PHPUnit_Framework_TestSuite->run() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestSuite.php:733
PHP 7. CRM_Price_BAO_PriceSetTest->run() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestSuite.php:733
PHP 8. PHPUnit_Framework_TestResult->run() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestCase.php:868
PHP 9. CRM_Price_BAO_PriceSetTest->runBare() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestResult.php:686
PHP 10. CRM_Price_BAO_PriceSetTest->runTest() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestCase.php:913
PHP 11. CRM_Price_BAO_PriceSetTest->runTest() /Users/monish/src/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:192
PHP 12. ReflectionMethod->invokeArgs() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestCase.php:1062
PHP 13. CRM_Price_BAO_PriceSetTest->testGetAmountLevelTextAmount() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestCase.php:1062
PHP 14. CRM_Price_BAO_PriceSetTest->callAPISuccess() /Users/monish/src/civicrm/tests/phpunit/CRM/Price/BAO/PriceSetTest.php:60
PHP 15. CRM_Price_BAO_PriceSetTest->callAPISuccessGetSingle() /Users/monish/src/civicrm/Civi/Test/Api3TestTrait.php:146
PHP 16. CRM_Price_BAO_PriceSetTest->civicrm_api() /Users/monish/src/civicrm/Civi/Test/Api3TestTrait.php:203
PHP 17. civicrm_api() /Users/monish/src/civicrm/Civi/Test/Api3TestTrait.php:259
PHP 18. Civi\API\Kernel->runSafe() /Users/monish/src/civicrm/api/api.php:23
PHP 19. Civi\API\Kernel->runRequest() /Users/monish/src/civicrm/Civi/API/Kernel.php:100
PHP 20. Civi\API\Kernel->resolve() /Users/monish/src/civicrm/Civi/API/Kernel.php:166
PHP 21. Civi\Core\CiviEventDispatcher->dispatch() /Users/monish/src/civicrm/Civi/API/Kernel.php:221
PHP 22. Civi\Core\CiviEventDispatcher->dispatch() /Users/monish/src/civicrm/Civi/Core/CiviEventDispatcher.php:47
PHP 23. Civi\Core\CiviEventDispatcher->dispatch() /Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php:167
PHP 24. Civi\Core\CiviEventDispatcher->doDispatch() /Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:53
PHP 25. call_user_func:{/Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164}() /Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
PHP 26. Civi\API\Provider\MagicFunctionProvider->onApiResolve() /Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
PHP 27. Civi\API\Provider\MagicFunctionProvider->resolve() /Users/monish/src/civicrm/Civi/API/Provider/MagicFunctionProvider.php:66
Fatal error: Cannot redeclare civicrm_api3_price_field_value_create() (previously declared in /Users/monish/src/civicrm/api/v3/PriceFieldValue.php:47) in /Users/monish/src/civicrm/api/v3/Pricefieldvalue.php on line 59
Call Stack:
0.0023 503704 1. {main}() /usr/local/bin/phpunit5:0
0.0688 9284440 2. PHPUnit_TextUI_Command::main() /usr/local/bin/phpunit5:598
0.0688 9284552 3. PHPUnit_TextUI_Command->run() phar:///usr/local/bin/phpunit5/phpunit/TextUI/Command.php:116
4.8229 68968656 4. PHPUnit_TextUI_TestRunner->doRun() phar:///usr/local/bin/phpunit5/phpunit/TextUI/Command.php:186
4.8298 69022736 5. PHPUnit_Framework_TestSuite->run() phar:///usr/local/bin/phpunit5/phpunit/TextUI/TestRunner.php:517
1235.9827 171951224 6. PHPUnit_Framework_TestSuite->run() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestSuite.php:733
1238.1753 172855128 7. CRM_Price_BAO_PriceSetTest->run() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestSuite.php:733
1238.1753 172855128 8. PHPUnit_Framework_TestResult->run() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestCase.php:868
1238.1753 172855504 9. CRM_Price_BAO_PriceSetTest->runBare() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestResult.php:686
1238.5836 173068016 10. CRM_Price_BAO_PriceSetTest->runTest() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestCase.php:913
1238.5836 173068016 11. CRM_Price_BAO_PriceSetTest->runTest() /Users/monish/src/civicrm/tests/phpunit/CiviTest/CiviUnitTestCase.php:192
1238.5837 173068312 12. ReflectionMethod->invokeArgs() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestCase.php:1062
1238.5837 173068320 13. CRM_Price_BAO_PriceSetTest->testGetAmountLevelTextAmount() phar:///usr/local/bin/phpunit5/phpunit/Framework/TestCase.php:1062
1238.6276 173365000 14. CRM_Price_BAO_PriceSetTest->callAPISuccess() /Users/monish/src/civicrm/tests/phpunit/CRM/Price/BAO/PriceSetTest.php:60
1238.6276 173365000 15. CRM_Price_BAO_PriceSetTest->callAPISuccessGetSingle() /Users/monish/src/civicrm/Civi/Test/Api3TestTrait.php:146
1238.6276 173365376 16. CRM_Price_BAO_PriceSetTest->civicrm_api() /Users/monish/src/civicrm/Civi/Test/Api3TestTrait.php:203
1238.6276 173365376 17. civicrm_api() /Users/monish/src/civicrm/Civi/Test/Api3TestTrait.php:259
1238.6276 173365376 18. Civi\API\Kernel->runSafe() /Users/monish/src/civicrm/api/api.php:23
1238.6276 173365832 19. Civi\API\Kernel->runRequest() /Users/monish/src/civicrm/Civi/API/Kernel.php:100
1238.6277 173366224 20. Civi\API\Kernel->resolve() /Users/monish/src/civicrm/Civi/API/Kernel.php:166
1238.6277 173366384 21. Civi\Core\CiviEventDispatcher->dispatch() /Users/monish/src/civicrm/Civi/API/Kernel.php:221
1238.6277 173366384 22. Civi\Core\CiviEventDispatcher->dispatch() /Users/monish/src/civicrm/Civi/Core/CiviEventDispatcher.php:47
1238.6277 173366384 23. Civi\Core\CiviEventDispatcher->dispatch() /Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php:167
1238.6277 173366384 24. Civi\Core\CiviEventDispatcher->doDispatch() /Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:53
1238.6277 173366384 25. call_user_func:{/Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164}() /Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
1238.6277 173366384 26. Civi\API\Provider\MagicFunctionProvider->onApiResolve() /Users/monish/src/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php:164
1238.6277 173366384 27. Civi\API\Provider\MagicFunctionProvider->resolve() /Users/monish/src/civicrm/Civi/API/Provider/MagicFunctionProvider.php:66
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment