Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: buildkit
-
Labels:None
-
Sprint:No
Description
When running unit-tests on a build produced by buildkit, the tests currently run against the CiviCRM database. This is useful for WebTests but breaks the site for API/CRM tests.
The appropriate policy is to:
* Create two Civi DBs -- regular DB and headless test DB
* For Web Tests, use regular DB
* For API/CRM tests, use headless test DB
The appropriate policy is to:
* Create two Civi DBs -- regular DB and headless test DB
* For Web Tests, use regular DB
* For API/CRM tests, use headless test DB