23 lines
590 B
PHP
23 lines
590 B
PHP
<?php
|
|
|
|
namespace Civi\Test;
|
|
|
|
/**
|
|
* Interface HeadlessInterface
|
|
* @package Civi\Test
|
|
*
|
|
* Mark a test with TransactionalInterface to instruct CiviTestListener to wrap
|
|
* each test in a transaction (and rollback).
|
|
*
|
|
* Note: At time of writing, CiviTestListener only supports using TransactionalInterface if
|
|
* the test is in-process and runs with CIVICRM_UF==UnitTests.
|
|
*
|
|
* For end-to-end testing, it is expected that the CMS will not participate in the transaction,
|
|
* so the transaction mechanism will not work.
|
|
*
|
|
* @see HeadlessInterface
|
|
*/
|
|
interface TransactionalInterface {
|
|
|
|
}
|