(NFC) Style fixups
[civicrm-core.git] / Civi / Test / TransactionalInterface.php
CommitLineData
09e1f1e3
TO
1<?php
2
3namespace Civi\Test;
4
5/**
6 * Interface HeadlessInterface
7 * @package Civi\Test
8 *
9 * Mark a test with TransactionalInterface to instruct CiviTestListener to wrap
10 * each test in a transaction (and rollback).
11 *
12 * Note: At time of writing, CiviTestListener only supports using TransactionalInterface if
13 * the test is in-process and runs with CIVICRM_UF==UnitTests.
14 *
f703cd9e
TO
15 * For end-to-end testing, it is expected that the CMS will not participate in the transaction,
16 * so the transaction mechanism will not work.
17 *
09e1f1e3
TO
18 * @see HeadlessInterface
19 */
20interface TransactionalInterface {
21
22}