From: Tim Otten Date: Wed, 10 Feb 2016 03:30:03 +0000 (-0800) Subject: CRM-17860 - HeadlessInterface - Docs X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cdfe4d23121ccdd43a4bb8bd5ffef49d1e8cb5ee;p=civicrm-core.git CRM-17860 - HeadlessInterface - Docs --- diff --git a/Civi/Test/HeadlessInterface.php b/Civi/Test/HeadlessInterface.php index d9e2c6332e..85de268943 100644 --- a/Civi/Test/HeadlessInterface.php +++ b/Civi/Test/HeadlessInterface.php @@ -23,11 +23,13 @@ namespace Civi\Test; interface HeadlessInterface { /** - * The setupHeadless functions runs at the start of each test case. + * The setupHeadless functions runs at the start of each test case, right before + * the headless environment reboots. + * * It should perform any necessary steps required for putting the database * in a consistent baseline -- such as loading schema and extensions. * - * The utility class `\Civi\Test` provides a number of helper functions + * The utility `\Civi\Test::headless()` provides a number of helper functions * for managing this setup, and it includes optimizations to avoid redundant * setup work. *