From cdfe4d23121ccdd43a4bb8bd5ffef49d1e8cb5ee Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 9 Feb 2016 19:30:03 -0800 Subject: [PATCH] CRM-17860 - HeadlessInterface - Docs --- Civi/Test/HeadlessInterface.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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. * -- 2.25.1