Answers.Body: <p>Looks like the new, fledgling, e2e tests are my answer...</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-03-12T06:00:18.037Z
Answers.LastActivityDate: 2017-03-12T06:00:18.037Z
Answers.UserDisplayName: JohnFF
Body: <p>My rig has a CMS &amp; Civi combined database. This was to make life easier through drush sql-sync from @prod to @dev.</p>
  
  <p>However, @dev is a vagrant box, with two databases, one for CMS, one for Civi.</p>
  
  <p>When I run unit tests, instead of it cloning from the CMS database it clones from the old civi one.</p>
  
  <p>My question is, how can I get it to clone from the CMS database? I've changed settings in the local test file and the civicrm.settings.php file.</p>
  
Tags: <developer><phpunit>
Title: Unit Tests on Single DB
ThreadText: # Unit Tests on Single DB
  
  (Asked by: username_0 on 2017-03-11)
  
  My rig has a CMS & Civi combined database. This was to make life easier through drush sql-sync from @prod to @dev.
  
  However, @dev is a vagrant box, with two databases, one for CMS, one for Civi.
  
  When I run unit tests, instead of it cloning from the CMS database it clones from the old civi one.
  
  My question is, how can I get it to clone from the CMS database? I've changed settings in the local test file and the civicrm.settings.php file.
  
  **Tags:** developer, phpunit
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-03-12. Score: 0 | Accepted answer
  
  Looks like the new, fledgling, e2e tests are my answer...
  
  
  ---
  
  