TestClassCustomLabelRowSaver
extends WP_UnitTestCase
in package
Table of Contents
- EXAMPLE_RECORDS = ['testField' => ['native' => 'testEN', 'de_DE' => 'testDE']]
- $_pCustomLabelCreate : CustomLabelCreate
- $_pLanguage : Language
- $_pSubject : CustomLabelRowSaver
- prepare() : mixed
- testSaveCustomLabelsField() : mixed
- buildFieldsCollection() : FieldsCollection
Constants
EXAMPLE_RECORDS
public
array<string|int, mixed>
EXAMPLE_RECORDS
= ['testField' => ['native' => 'testEN', 'de_DE' => 'testDE']]
Properties
$_pCustomLabelCreate
private
CustomLabelCreate
$_pCustomLabelCreate
= null
$_pLanguage
private
Language
$_pLanguage
= null
$_pSubject
private
CustomLabelRowSaver
$_pSubject
= null
Methods
prepare()
public
prepare() : mixed
Tags
Return values
mixed —testSaveCustomLabelsField()
public
testSaveCustomLabelsField() : mixed
Return values
mixed —buildFieldsCollection()
private
buildFieldsCollection() : FieldsCollection