onOffice WP Plugin

TestClassFieldCategoryToFieldConverterSearchCriteriaGeoFrontend extends WP_UnitTestCase
in package

Table of Contents

$_data  : array<string|int, mixed>
$_pSubject  : FieldCategoryToFieldConverterSearchCriteriaGeoFrontend
prepare()  : mixed
testConvertCategoryNonGeo()  : mixed
testConvertCategoryWithGeo()  : mixed

Properties

$_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]]]

Methods

Search results