TestClassFieldCategoryToFieldConverterSearchCriteriaGeoBackend
extends WP_UnitTestCase
Table of Contents
-
$_categoryData
: array<string|int, mixed>
-
$_pSubject
: FieldCategoryToFieldConverterSearchCriteriaGeoBackend
-
prepare()
: mixed
-
testConvertCategoryActive()
: mixed
-
testConvertCategoryInactive()
: mixed
$_categoryData
private
array<string|int, mixed>
$_categoryData
= ['input' => ['name' => 'Umkreis', 'fields' => ['range_land' => ['label' => 'Land']]], 'expectedResult' => ['geoPosition' => ['id' => 'geoPosition', 'type' => 'float', 'label' => 'Geo Position', 'tablename' => 'ObjSuchkriterien', 'module' => 'searchcriteria', 'content' => 'Search Criteria', 'permittedvalues' => [], 'rangefield' => false]]]
$_pSubject
private
FieldCategoryToFieldConverterSearchCriteriaGeoBackend
$_pSubject
= null
prepare()
public
prepare() : mixed
-
before
-
-
throws
-
Exception
Return values
mixed
—
testConvertCategoryActive()
public
testConvertCategoryActive() : mixed
Return values
mixed
—
testConvertCategoryInactive()
public
testConvertCategoryInactive() : mixed
Return values
mixed
—