Skip to content

Instantly share code, notes, and snippets.

@davialexandre
Created July 18, 2019 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davialexandre/3a7f73ad1ad7d50cbac85aa68863ceb6 to your computer and use it in GitHub Desktop.
Save davialexandre/3a7f73ad1ad7d50cbac85aa68863ceb6 to your computer and use it in GitHub Desktop.
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/uk.co.compucorp.civicrm.hrcore$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
............................................................... 63 / 153 ( 41%)
............................................................... 126 / 153 ( 82%)
...........................
Time: 1.12 minutes, Memory: 105.50Mb
OK (153 tests, 351 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/uk.co.compucorp.civicrm.hrcore$ cd ../uk.co.compucorp.civicrm.hrleaveandabsences/
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/uk.co.compucorp.civicrm.hrleaveandabsences$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
Installing civihrtest_u6d0e schema
............................................................. 61 / 1430 ( 4%)
............................................................. 122 / 1430 ( 8%)
............................................................. 183 / 1430 ( 12%)
............................................................. 244 / 1430 ( 17%)
............................................................. 305 / 1430 ( 21%)
............................................................. 366 / 1430 ( 25%)
............................................................. 427 / 1430 ( 29%)
............................................................. 488 / 1430 ( 34%)
............................................................. 549 / 1430 ( 38%)
............................................................. 610 / 1430 ( 42%)
............................................................. 671 / 1430 ( 46%)
............................................................. 732 / 1430 ( 51%)
............................................................. 793 / 1430 ( 55%)
............................................................. 854 / 1430 ( 59%)
............................................................. 915 / 1430 ( 63%)
............................................................. 976 / 1430 ( 68%)
............................................................. 1037 / 1430 ( 72%)
............................................................. 1098 / 1430 ( 76%)
............................................................. 1159 / 1430 ( 81%)
............................................................. 1220 / 1430 ( 85%)
............................................................. 1281 / 1430 ( 89%)
............................................................. 1342 / 1430 ( 93%)
............................................................. 1403 / 1430 ( 98%)
...........................
Time: 7.29 minutes, Memory: 161.00Mb
OK (1430 tests, 3742 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/uk.co.compucorp.civicrm.hrleaveandabsences$ cd ../com.civicrm.hrjobroles/
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/com.civicrm.hrjobroles$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
Installing civihrtest_u6d0e schema
..........................................
Time: 1.27 minutes, Memory: 109.00Mb
OK (42 tests, 88 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/com.civicrm.hrjobroles$ cd ../contactaccessrights/
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/contactaccessrights$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
Installing civihrtest_u6d0e schema
.............
Time: 1.15 minutes, Memory: 102.75Mb
OK (13 tests, 52 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/contactaccessrights$ cd ../hrjobcontract/
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrjobcontract$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
Installing civihrtest_u6d0e schema
............................................................... 63 / 142 ( 44%)
............................................................... 126 / 142 ( 88%)
................
Time: 2.07 minutes, Memory: 121.75Mb
OK (142 tests, 351 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrjobcontract$ cd ../hrvisa/
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
Installing civihrtest_u6d0e schema
PHP Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
PHP Stack trace:
PHP 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
PHP 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
PHP 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
PHP 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
PHP 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
PHP 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
PHP 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
PHP 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
PHP 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
PHP 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
PHP 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
PHP 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
PHP 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
PHP 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
PHP 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
PHP 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
PHP 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
PHP 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
PHP 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
PHP 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
PHP 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
PHP 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
PHP 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
PHP 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
PHP 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
PHP 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
PHP 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
PHP 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
PHP 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
PHP 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
PHP 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
PHP 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1012
PHP 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
PHP 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
PHP 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
PHP 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
PHP 46. eval() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
Call Stack:
0.0008 394968 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
0.0669 13200848 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
0.0669 13201472 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
0.9618 39865856 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
0.9674 40061144 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
0.9679 40065440 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9680 40067816 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9699 40072056 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9700 40073720 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
0.9700 40074080 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
0.9700 40074400 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
0.9701 40076056 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
0.9701 40076912 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
0.9753 40281728 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
4.0764 52027384 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
21.8406 52058392 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
21.8414 52071120 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
21.8414 52071304 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
21.8449 52177008 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
21.8974 55689144 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
21.8975 55691344 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
21.8975 55692608 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.8979 55695784 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
21.8979 55696032 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
21.8979 55696032 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
21.8979 55696032 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
21.9008 55768208 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55768248 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55771504 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
21.9010 55776008 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
21.9010 55778176 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
21.9011 55779024 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
21.9011 55779072 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
21.9011 55780288 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.9033 55788976 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
21.9033 55789096 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
21.9056 55854696 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
21.9057 55854792 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
21.9060 55865232 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9060 55865320 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9060 55865880 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1012
21.9060 55866008 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
21.9060 55866504 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
21.9060 55866776 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
21.9060 55866832 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
21.9062 55867800 46. eval('$total=2;$plural=(validate!=1);;') /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
PHP Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
PHP Stack trace:
PHP 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
PHP 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
PHP 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
PHP 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
PHP 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
PHP 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
PHP 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
PHP 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
PHP 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
PHP 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
PHP 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
PHP 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
PHP 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
PHP 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
PHP 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
PHP 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
PHP 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
PHP 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
PHP 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
PHP 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
PHP 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
PHP 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
PHP 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
PHP 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
PHP 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
PHP 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
PHP 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
PHP 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
PHP 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
PHP 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
PHP 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
PHP 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1013
PHP 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
PHP 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
PHP 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
PHP 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
PHP 46. eval() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
Call Stack:
0.0008 394968 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
0.0669 13200848 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
0.0669 13201472 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
0.9618 39865856 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
0.9674 40061144 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
0.9679 40065440 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9680 40067816 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9699 40072056 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9700 40073720 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
0.9700 40074080 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
0.9700 40074400 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
0.9701 40076056 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
0.9701 40076912 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
0.9753 40281728 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
4.0764 52027384 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
21.8406 52058392 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
21.8414 52071120 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
21.8414 52071304 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
21.8449 52177008 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
21.8974 55689144 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
21.8975 55691344 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
21.8975 55692608 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.8979 55695784 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
21.8979 55696032 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
21.8979 55696032 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
21.8979 55696032 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
21.9008 55768208 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55768248 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55771504 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
21.9010 55776008 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
21.9010 55778176 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
21.9011 55779024 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
21.9011 55779072 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
21.9011 55780288 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.9033 55788976 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
21.9033 55789096 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
21.9056 55854696 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
21.9057 55854792 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
21.9060 55865232 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9060 55865320 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9066 55865744 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1013
21.9066 55865872 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
21.9066 55866368 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
21.9066 55866464 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
21.9066 55866464 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
21.9067 55868256 46. eval('$total=2;$plural=(validate!=1);;') /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
PHP Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
PHP Stack trace:
PHP 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
PHP 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
PHP 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
PHP 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
PHP 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
PHP 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
PHP 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
PHP 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
PHP 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
PHP 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
PHP 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
PHP 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
PHP 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
PHP 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
PHP 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
PHP 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
PHP 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
PHP 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
PHP 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
PHP 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
PHP 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
PHP 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
PHP 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
PHP 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
PHP 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
PHP 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
PHP 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
PHP 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
PHP 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
PHP 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
PHP 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
PHP 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1014
PHP 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
PHP 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
PHP 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
PHP 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
PHP 46. eval() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
Call Stack:
0.0008 394968 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
0.0669 13200848 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
0.0669 13201472 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
0.9618 39865856 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
0.9674 40061144 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
0.9679 40065440 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9680 40067816 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9699 40072056 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9700 40073720 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
0.9700 40074080 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
0.9700 40074400 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
0.9701 40076056 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
0.9701 40076912 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
0.9753 40281728 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
4.0764 52027384 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
21.8406 52058392 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
21.8414 52071120 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
21.8414 52071304 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
21.8449 52177008 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
21.8974 55689144 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
21.8975 55691344 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
21.8975 55692608 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.8979 55695784 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
21.8979 55696032 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
21.8979 55696032 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
21.8979 55696032 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
21.9008 55768208 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55768248 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55771504 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
21.9010 55776008 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
21.9010 55778176 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
21.9011 55779024 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
21.9011 55779072 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
21.9011 55780288 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.9033 55788976 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
21.9033 55789096 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
21.9056 55854696 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
21.9057 55854792 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
21.9060 55865232 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9060 55865320 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9071 55865984 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1014
21.9071 55866112 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
21.9071 55866608 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
21.9071 55866704 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
21.9071 55866704 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
21.9071 55868496 46. eval('$total=2;$plural=(validate!=1);;') /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
PHP Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
PHP Stack trace:
PHP 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
PHP 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
PHP 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
PHP 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
PHP 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
PHP 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
PHP 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
PHP 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
PHP 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
PHP 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
PHP 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
PHP 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
PHP 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
PHP 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
PHP 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
PHP 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
PHP 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
PHP 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
PHP 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
PHP 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
PHP 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
PHP 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
PHP 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
PHP 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
PHP 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
PHP 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
PHP 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
PHP 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
PHP 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
PHP 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
PHP 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
PHP 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1015
PHP 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
PHP 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
PHP 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
PHP 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
PHP 46. eval() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
Call Stack:
0.0008 394968 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
0.0669 13200848 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
0.0669 13201472 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
0.9618 39865856 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
0.9674 40061144 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
0.9679 40065440 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9680 40067816 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9699 40072056 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9700 40073720 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
0.9700 40074080 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
0.9700 40074400 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
0.9701 40076056 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
0.9701 40076912 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
0.9753 40281728 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
4.0764 52027384 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
21.8406 52058392 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
21.8414 52071120 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
21.8414 52071304 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
21.8449 52177008 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
21.8974 55689144 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
21.8975 55691344 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
21.8975 55692608 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.8979 55695784 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
21.8979 55696032 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
21.8979 55696032 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
21.8979 55696032 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
21.9008 55768208 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55768248 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55771504 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
21.9010 55776008 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
21.9010 55778176 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
21.9011 55779024 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
21.9011 55779072 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
21.9011 55780288 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.9033 55788976 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
21.9033 55789096 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
21.9056 55854696 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
21.9057 55854792 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
21.9060 55865232 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9060 55865320 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9076 55866224 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1015
21.9076 55866352 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
21.9076 55866848 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
21.9076 55866944 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
21.9076 55866944 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
21.9076 55868736 46. eval('$total=2;$plural=(validate!=1);;') /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
PHP Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
PHP Stack trace:
PHP 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
PHP 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
PHP 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
PHP 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
PHP 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
PHP 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
PHP 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
PHP 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
PHP 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
PHP 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
PHP 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
PHP 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
PHP 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
PHP 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
PHP 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
PHP 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
PHP 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
PHP 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
PHP 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
PHP 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
PHP 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
PHP 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
PHP 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
PHP 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
PHP 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
PHP 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
PHP 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
PHP 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
PHP 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
PHP 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
PHP 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
PHP 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
PHP 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
PHP 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
PHP 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
PHP 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1016
PHP 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
PHP 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
PHP 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
PHP 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
PHP 46. eval() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
Notice: Use of undefined constant validate - assumed 'validate' in /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php(361) : eval()'d code on line 1
Call Stack:
0.0008 394968 1. {main}() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:0
0.0669 13200848 2. PHPUnit_TextUI_Command::main() /home/vagrant/buildkit/extern/phpunit4/phpunit4.phar:545
0.0669 13201472 3. PHPUnit_TextUI_Command->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:100
0.9618 39865856 4. PHPUnit_TextUI_TestRunner->doRun() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/Command.php:149
0.9674 40061144 5. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/TextUI/TestRunner.php:440
0.9679 40065440 6. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9680 40067816 7. PHPUnit_Framework_TestSuite->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9699 40072056 8. PHPUnit_Framework_TestCase->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestSuite.php:747
0.9700 40073720 9. PHPUnit_Framework_TestResult->run() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestCase.php:724
0.9700 40074080 10. PHPUnit_Framework_TestResult->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:552
0.9700 40074400 11. Civi\Test\Legacy\CiviTestListener->startTest() phar:///home/vagrant/buildkit/extern/phpunit4/phpunit4.phar/phpunit/Framework/TestResult.php:327
0.9701 40076056 12. Civi\Test\Legacy\CiviTestListener->bootHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:52
0.9701 40076912 13. CRM_HRVisa_ActivityTest->setUpHeadless() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/Legacy/CiviTestListener.php:95
0.9753 40281728 14. Civi\Test\CiviEnvBuilder->apply() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/tests/phpunit/CRM/HRVisa/ActivityTest.php:20
4.0764 52027384 15. Civi\Test\CiviEnvBuilder\ExtensionsStep->run() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder.php:185
21.8406 52058392 16. CRM_Extension_Manager->install() /vagrant/civihr/sites/all/modules/civicrm/Civi/Test/CiviEnvBuilder/ExtensionsStep.php:42
21.8414 52071120 17. CRM_Extension_Manager_Module->onPreInstall() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager.php:251
21.8414 52071304 18. CRM_Extension_Manager_Module->callHook() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:48
21.8449 52177008 19. hrvisa_civicrm_install() /vagrant/civihr/sites/all/modules/civicrm/CRM/Extension/Manager/Module.php:76
21.8974 55689144 20. civicrm_api3() /vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa/hrvisa.php:122
21.8975 55691344 21. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:43
21.8975 55692608 22. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.8979 55695784 23. Civi\API\Kernel->prepare() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:167
21.8979 55696032 24. Civi\Core\CiviEventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:258
21.8979 55696032 25. Symfony\Component\EventDispatcher\EventDispatcher->dispatch() /vagrant/civihr/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php:47
21.8979 55696032 26. Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:46
21.9008 55768208 27. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184}() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55768248 28. Civi\API\Subscriber\APIv3SchemaAdapter->onApiPrepare_validate() /vagrant/civihr/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php:184
21.9008 55771504 29. _civicrm_api3_validate_fields() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Subscriber/APIv3SchemaAdapter.php:89
21.9010 55776008 30. _civicrm_api3_validate_string() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:1612
21.9010 55778176 31. _civicrm_api3_api_match_pseudoconstant() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2248
21.9011 55779024 32. civicrm_api() /vagrant/civihr/sites/all/modules/civicrm/api/v3/utils.php:2297
21.9011 55779072 33. Civi\API\Kernel->runSafe() /vagrant/civihr/sites/all/modules/civicrm/api/api.php:23
21.9011 55780288 34. Civi\API\Kernel->runRequest() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:99
21.9033 55788976 35. Civi\API\Provider\MagicFunctionProvider->invoke() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Kernel.php:168
21.9033 55789096 36. civicrm_api3_generic_getoptions() /vagrant/civihr/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php:97
21.9056 55854696 37. CRM_Core_DAO::buildOptions() /vagrant/civihr/sites/all/modules/civicrm/api/v3/Generic.php:438
21.9057 55854792 38. CRM_Core_PseudoConstant::get() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/DAO.php:2489
21.9060 55865232 39. call_user_func:{/vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243}() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9060 55865320 40. CRM_Core_SelectValues::getRecurringFrequencyUnits() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/PseudoConstant.php:243
21.9082 55866464 41. ts() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/SelectValues.php:1016
21.9082 55866592 42. CRM_Core_I18n->crm_translate() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:801
21.9082 55867088 43. CRM_Core_I18n->crm_translate_raw() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:397
21.9082 55867184 44. gettext_reader->ngettext() /vagrant/civihr/sites/all/modules/civicrm/CRM/Core/I18n.php:478
21.9082 55867184 45. gettext_reader->select_string() /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:384
21.9082 55868976 46. eval('$total=2;$plural=(validate!=1);;') /vagrant/civihr/sites/all/modules/civicrm/packages/PHPgettext/gettext.php:361
..
Time: 51.62 seconds, Memory: 100.25Mb
OK (2 tests, 6 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/hrvisa$ cd ../uk.co.compucorp.civicrm.hrsampledata/
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/uk.co.compucorp.civicrm.hrsampledata$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
Installing civihrtest_u6d0e schema
...........................
Time: 1.94 minutes, Memory: 112.25Mb
OK (27 tests, 75 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/uk.co.compucorp.civicrm.hrsampledata$ cd ../org.civicrm.hremergency/
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/org.civicrm.hremergency$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
Installing civihrtest_u6d0e schema
......
Time: 54.48 seconds, Memory: 101.00Mb
OK (6 tests, 10 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/org.civicrm.hremergency$ cd ../uk.co.compucorp.civicrm.hrcontactactionsmenu/
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/uk.co.compucorp.civicrm.hrcontactactionsmenu$ phpunit4 --testsuite "Unit Tests"
PHPUnit 4.8.21 by Sebastian Bergmann and contributors.
Installing civihrtest_u6d0e schema
...........
Time: 54.9 seconds, Memory: 100.00Mb
OK (11 tests, 25 assertions)
vagrant@civihr-upgrade:/vagrant/civihr/sites/all/modules/civicrm/tools/extensions/civihr/uk.co.compucorp.civicrm.hrcontactactionsmenu$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment