civicrm.settings.php.template, ExternalBatch - Read unit test DSN from $_CV
authorTim Otten <totten@civicrm.org>
Fri, 29 Jan 2016 00:27:07 +0000 (16:27 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 2 Feb 2016 04:56:23 +0000 (21:56 -0700)
commit2b045ddda290d41157e35bca77ef5290247c63fa
tree138e3e96eebaae676bd85e90750aaf031cb2bffb
parent04f72de867a2056fa29a0d5680b34f9a3af35f5b
civicrm.settings.php.template, ExternalBatch - Read unit test DSN from $_CV

In the previous formulation, a dev would need to perform more steps during setup, ie

 1. Edit main civicrm.settings.php to add test DSN
 2. Run `cv vars:fill` and edit ~/.cv.json

This patch makes the first step redundant.

This patch also makes it easier to swtich DB's for parallel test execution.
Civi/API/ExternalBatch.php
templates/CRM/common/civicrm.settings.php.template