drupal-civicrm/sites/all/modules/civicrm/Civi/Test/TransactionalInterface.php

23 lines
590 B
PHP
Raw Permalink Normal View History

2018-01-14 15:10:16 +02:00
<?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 {
}