CRM-17860 - CRM_Core_DAOConformanceTest - Fix for bootstrap level==settings
authorTim Otten <totten@civicrm.org>
Sat, 23 Jan 2016 00:03:11 +0000 (16:03 -0800)
committerTim Otten <totten@civicrm.org>
Tue, 2 Feb 2016 04:56:23 +0000 (21:56 -0700)
tests/phpunit/CRM/Core/DAOConformanceTest.php

index a77a97553b9cc3e184a99d2f44d39a784deb449e..6c9b896982fd2142a8bfd069c26479d7b90cb36e 100644 (file)
@@ -26,6 +26,7 @@ class CRM_Core_DAOConformanceTest extends CiviUnitTestCase {
    * Get all DAO classes.
    */
   public function getAllDAO() {
+    $this->setUp(); // Ugh. Need full bootstrap to enumerate classes.
     $classList = CRM_Core_DAO_AllCoreTables::getClasses();
     $return = array();
     foreach ($classList as $class) {