CiviGenericProviderTest
extends TestCase
in package
implements
HeadlessInterface, HookInterface, TransactionalInterface
Tags
Table of Contents
Interfaces
- HeadlessInterface
- Interface HeadlessInterface
- HookInterface
- TransactionalInterface
- Interface HeadlessInterface
Properties
- $clients : mixed
- $providers : mixed
Methods
- hook_civicrm_oauthProviders() : mixed
- makeDummyProviders() : mixed
- setUp() : void
- setUpHeadless() : mixed
- The setupHeadless function runs at the start of each test case, right before the headless environment reboots.
- tearDown() : void
- testTenancyInURLs() : mixed
- makeDummyClients() : mixed
Properties
$clients
private
mixed
$clients
= []
$providers
private
mixed
$providers
= []
Methods
hook_civicrm_oauthProviders()
public
hook_civicrm_oauthProviders(mixed &$providers) : mixed
Parameters
- $providers : mixed
makeDummyProviders()
public
makeDummyProviders() : mixed
setUp()
public
setUp() : void
setUpHeadless()
The setupHeadless function runs at the start of each test case, right before the headless environment reboots.
public
setUpHeadless() : mixed
It should perform any necessary steps required for putting the database in a consistent baseline -- such as loading schema and extensions.
The utility \Civi\Test::headless()
provides a number of helper functions
for managing this setup, and it includes optimizations to avoid redundant
setup work.
tearDown()
public
tearDown() : void
testTenancyInURLs()
public
testTenancyInURLs() : mixed
makeDummyClients()
private
makeDummyClients() : mixed