‪TYPO3CMS  ‪main
TYPO3\CMS\Webhooks\Tests\Unit\Factory\WebhookInstructionFactoryTest Class Reference
Inheritance diagram for TYPO3\CMS\Webhooks\Tests\Unit\Factory\WebhookInstructionFactoryTest:

Public Member Functions

 createWebhookInstructionWithMinimalData ()
 
 createWebhookInstructionWithAllData ()
 
 createWebhookInstructionFromRow ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

array $mockRecord
 
WebhookType $webhookType
 

Detailed Description

Definition at line 27 of file WebhookInstructionFactoryTest.php.

Member Function Documentation

◆ createWebhookInstructionFromRow()

TYPO3\CMS\Webhooks\Tests\Unit\Factory\WebhookInstructionFactoryTest::createWebhookInstructionFromRow ( )

◆ createWebhookInstructionWithAllData()

TYPO3\CMS\Webhooks\Tests\Unit\Factory\WebhookInstructionFactoryTest::createWebhookInstructionWithAllData ( )

◆ createWebhookInstructionWithMinimalData()

TYPO3\CMS\Webhooks\Tests\Unit\Factory\WebhookInstructionFactoryTest::createWebhookInstructionWithMinimalData ( )

◆ setUp()

TYPO3\CMS\Webhooks\Tests\Unit\Factory\WebhookInstructionFactoryTest::setUp ( )
protected

Definition at line 50 of file WebhookInstructionFactoryTest.php.

Member Data Documentation

◆ $mockRecord

array TYPO3\CMS\Webhooks\Tests\Unit\Factory\WebhookInstructionFactoryTest::$mockRecord
protected
Initial value:
= [
'url' => 'https:
'secret' => 'a random secret',
'method' => 'POST',
'verify_ssl' => true,
'additional_headers' => [
'X-My-Header' => 'My Header Value',
],
'name' => 'My Webhook',
'‪description' => 'My Webhook Description',
'webhook_type' => null,
'identifier' => '033c049f-7762-4755-b072-805350a8726a',
'uid' => 200413,
'row' => [],
]

Simulate a sys_webhook record

Definition at line 32 of file WebhookInstructionFactoryTest.php.

◆ $webhookType

WebhookType TYPO3\CMS\Webhooks\Tests\Unit\Factory\WebhookInstructionFactoryTest::$webhookType
protected
‪TYPO3\CMS\Redirects\Message\description
‪identifier description
Definition: RedirectWasHitMessage.php:32