TestClassFieldCategoryToFieldConverterSearchCriteriaGeoFrontend
extends WP_UnitTestCase
Table of Contents
-
$_data
: array<string|int, mixed>
-
$_pSubject
: FieldCategoryToFieldConverterSearchCriteriaGeoFrontend
-
prepare()
: mixed
-
testConvertCategoryNonGeo()
: mixed
-
testConvertCategoryWithGeo()
: mixed
$_data
private
array<string|int, mixed>
$_data
= ['input' => ['name' => 'Umkreis', 'fields' => ['range' => ['id' => 'range', 'type' => 'float', 'name' => 'Umkreis', 'tablename' => 'ObjSuchkriterien', 'module' => 'searchcriteria', 'content' => 'Search Criteria', 'permittedvalues' => [], 'rangefield' => false], 'range_land' => ['id' => 'range_land', 'type' => 'float', 'name' => 'Land', 'tablename' => 'ObjSuchkriterien', 'module' => 'searchcriteria', 'content' => 'Search Criteria', 'permittedvalues' => [], 'rangefield' => false]]], 'expectedResult' => ['range' => ['id' => 'range', 'type' => 'float', 'label' => 'Umkreis', 'tablename' => 'ObjSuchkriterien', 'module' => 'searchcriteria', 'content' => 'Search Criteria', 'permittedvalues' => [], 'rangefield' => false], 'range_land' => ['id' => 'range_land', 'type' => 'float', 'label' => 'Land', 'tablename' => 'ObjSuchkriterien', 'module' => 'searchcriteria', 'content' => 'Search Criteria', 'permittedvalues' => [], 'rangefield' => false]]]
$_pSubject
private
FieldCategoryToFieldConverterSearchCriteriaGeoFrontend
$_pSubject
= null
prepare()
public
prepare() : mixed
-
before
-
Return values
mixed
—
testConvertCategoryNonGeo()
public
testConvertCategoryNonGeo() : mixed
Return values
mixed
—
testConvertCategoryWithGeo()
public
testConvertCategoryWithGeo() : mixed
Return values
mixed
—