CRM_Oembed_Page_OembedTest
extends TestCase
in package
implements
HeadlessInterface, HookInterface, TransactionalInterface
Tags
Table of Contents
Interfaces
- HeadlessInterface
- Interface HeadlessInterface
- HookInterface
- TransactionalInterface
- Interface HeadlessInterface
Properties
Methods
- setUp() : void
- setUpHeadless() : CiviEnvBuilder
- The setupHeadless function runs at the start of each test case, right before the headless environment reboots.
- testJson() : mixed
- testJson_1024() : mixed
- testUnknownFormat() : mixed
- testWrongDomain() : mixed
- testXml() : mixed
Properties
$client
protected
LocalHttpClient
$client
Methods
setUp()
public
setUp() : void
setUpHeadless()
The setupHeadless function runs at the start of each test case, right before the headless environment reboots.
public
setUpHeadless() : CiviEnvBuilder
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.
Return values
CiviEnvBuildertestJson()
public
testJson() : mixed
testJson_1024()
public
testJson_1024() : mixed
testUnknownFormat()
public
testUnknownFormat() : mixed
testWrongDomain()
public
testWrongDomain() : mixed
testXml()
public
testXml() : mixed