onOffice WP Plugin

TestClassDataListViewFactory extends WP_UnitTestCase
in package

Table of Contents

$_baseRow  : array<string|int, mixed>
$_pSubject  : DataListViewFactory
prepare()  : mixed
testCreateListViewByRow()  : mixed

Properties

$_baseRow

private array<string|int, mixed> $_baseRow = ['listview_id' => 13, 'name' => 'testView', 'expose' => 'testExpose', 'fields' => ['field1', 'field2'], 'filterId' => 133, 'list_type' => 'testtype', 'pictures' => ['Photo', 'Test'], 'show_status' => 1, 'sortby' => 'field2', 'sortorder' => 'DESC', 'recordsPerPage' => 100, 'template' => 'testtemplate', 'random' => 1, 'filterable' => ['field1', 'field3'], 'hidden' => ['field4', 'field3'], 'availableOptions' => ['field2'], 'sortBySetting' => 1, 'sortByUserDefinedDefault' => 'kaufpreis', 'sortByUserDefinedDirection' => 1, 'sortbyuservalues' => ['kaufpreis,anzahl_zimmer'], 'radius' => '200', 'show_reference_estate' => '1']

Methods

Search results