*/
protected function bootHeadless($test) {
if (CIVICRM_UF !== 'UnitTests') {
- throw new \RuntimeException('CiviHeadlessTestInterface requires CIVICRM_UF=UnitTests');
+ throw new \RuntimeException('HeadlessInterface requires CIVICRM_UF=UnitTests');
}
// Hrm, this seems wrong. Shouldn't we be resetting the entire session?
}
elseif (!empty($byInterface['HeadlessInterface'])) {
putenv('CIVICRM_UF=UnitTests');
- eval($this->cv('php:boot --level=settings', 'phpcode'));
+ eval($this->cv('php:boot --level=full', 'phpcode'));
}
elseif (!empty($byInterface['EndToEndInterface'])) {
putenv('CIVICRM_UF=');
- eval($this->cv('php:boot --level=settings', 'phpcode'));
+ eval($this->cv('php:boot --level=full', 'phpcode'));
}
$blurb = "Tip: Run the headless tests and end-to-end tests separately, e.g.\n"