‪TYPO3CMS  ‪main
TYPO3\CMS\Webhooks\Tests\Functional\WebhookExecutionTest Class Reference
Inheritance diagram for TYPO3\CMS\Webhooks\Tests\Functional\WebhookExecutionTest:
TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait

Public Member Functions

 requestIsSentOutForMessagesWithAGivenType ()
 
 oneMessageWithMultipleRequestsIsTriggeredAndDispatched ()
 
 messageWithoutConfiguredTypesDoesNotSendARequest ()
 

Protected Member Functions

 setUp ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
 writeSiteConfiguration (string $identifier, array $site=[], array $languages=[], array $errorHandling=[])
 
 mergeSiteConfiguration (string $identifier, array $overrides)
 
 buildSiteConfiguration (int $rootPageId, string $base='')
 
 buildDefaultLanguageConfiguration (string $identifier, string $base)
 
 buildLanguageConfiguration (string $identifier, string $base, array $fallbackIdentifiers=[], string $fallbackType=null)
 
 buildErrorHandlingConfiguration (string $handler, array $codes)
 
mixed resolveLanguagePreset (string $identifier)
 
 applyInstructions (InternalRequest $request, AbstractInstruction ... $instructions)
 
 mergeInstruction (AbstractInstruction $current, AbstractInstruction $other)
 

Protected Attributes

array $coreExtensionsToLoad = ['webhooks']
 

Private Member Functions

 registerRequestInspector (callable $inspector)
 

Private Attributes

const LANGUAGE_PRESETS
 

Additional Inherited Members

- ‪Static Protected Member Functions inherited from ‪TYPO3\CMS\Core\Tests\Functional\SiteHandling\SiteBasedTestTrait
static failIfArrayIsNotEmpty (array $items)
 

Detailed Description

Tests that check if a certain message is triggered and about to be sent out via HTTP.

It simulates a full scenario to trigger a webhook message to a remote URL.

Definition at line 42 of file WebhookExecutionTest.php.

Member Function Documentation

◆ messageWithoutConfiguredTypesDoesNotSendARequest()

TYPO3\CMS\Webhooks\Tests\Functional\WebhookExecutionTest::messageWithoutConfiguredTypesDoesNotSendARequest ( )

◆ oneMessageWithMultipleRequestsIsTriggeredAndDispatched()

TYPO3\CMS\Webhooks\Tests\Functional\WebhookExecutionTest::oneMessageWithMultipleRequestsIsTriggeredAndDispatched ( )

◆ registerRequestInspector()

◆ requestIsSentOutForMessagesWithAGivenType()

TYPO3\CMS\Webhooks\Tests\Functional\WebhookExecutionTest::requestIsSentOutForMessagesWithAGivenType ( )

◆ setUp()

Member Data Documentation

◆ $coreExtensionsToLoad

array TYPO3\CMS\Webhooks\Tests\Functional\WebhookExecutionTest::$coreExtensionsToLoad = ['webhooks']
protected

Definition at line 45 of file WebhookExecutionTest.php.

◆ LANGUAGE_PRESETS

const TYPO3\CMS\Webhooks\Tests\Functional\WebhookExecutionTest::LANGUAGE_PRESETS
private
Initial value:
= [
'EN' => ['id' => 0, 'title' => 'English', 'locale' => 'en_US.UTF8'],
]

Definition at line 47 of file WebhookExecutionTest.php.