TestClassDataListViewFactory
extends WP_UnitTestCase
Table of Contents
-
$_baseRow
: array<string|int, mixed>
-
$_pSubject
: DataListViewFactory
-
prepare()
: mixed
-
testCreateListViewByRow()
: mixed
$_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']
$_pSubject
private
DataListViewFactory
$_pSubject
= null
prepare()
public
prepare() : mixed
-
before
-
Return values
mixed
—
testCreateListViewByRow()
public
testCreateListViewByRow() : mixed
Return values
mixed
—