4 * Class CiviEndToEndTestCase
6 * An end-to-end test case in which we have booted Civi+CMS and loaded the
7 * admin user in the local process.
9 * Note: If you need to work as a different user, try using `cv()` or
12 class CiviEndToEndTestCase
extends PHPUnit_Framework_TestCase
implements \Civi\Test\EndToEndInterface
{
14 public static function setUpBeforeClass() {
15 CRM_Core_Config
::singleton(1, 1);
16 CRM_Utils_System
::loadBootStrap(array(
17 'name' => $GLOBALS['_CV']['ADMIN_USER'],
18 'pass' => $GLOBALS['_CV']['ADMIN_PASS'],
20 CRM_Utils_System
::synchronizeUsers();
22 parent
::setUpBeforeClass();