TestClassDataSimilarEstatesSettingsHandler
extends WP_UnitTestCase
in package
Tags
Table of Contents
- VALUES_BY_ROW = ['template' => '/test/template.php', 'fields' => ['Objektnr_extern', 'wohnflaeche', 'kaufpreis'], 'similar_estates_template' => '/test/similar/template.php', 'same_kind' => true, 'same_maketing_method' => true, 'show_archived' => true, 'show_reference' => true, 'radius' => 35, 'amount' => 13, 'enablesimilarestates' => true]
- VALUES_EMPTY_BY_ROW = ['fields' => []]
- testCreateDataSimilarEstatesSettingsByValues() : mixed
- testCreateEmptyDataSimilarEstatesSettingsByValues() : mixed
- testGetDataSimilarEstatesSettings() : mixed
- testSaveDataSimilarEstatesSettings() : mixed
Constants
VALUES_BY_ROW
public
mixed
VALUES_BY_ROW
= ['template' => '/test/template.php', 'fields' => ['Objektnr_extern', 'wohnflaeche', 'kaufpreis'], 'similar_estates_template' => '/test/similar/template.php', 'same_kind' => true, 'same_maketing_method' => true, 'show_archived' => true, 'show_reference' => true, 'radius' => 35, 'amount' => 13, 'enablesimilarestates' => true]
VALUES_EMPTY_BY_ROW
public
mixed
VALUES_EMPTY_BY_ROW
= ['fields' => []]
Methods
testCreateDataSimilarEstatesSettingsByValues()
public
testCreateDataSimilarEstatesSettingsByValues() : mixed
Return values
mixed —testCreateEmptyDataSimilarEstatesSettingsByValues()
public
testCreateEmptyDataSimilarEstatesSettingsByValues() : mixed
Return values
mixed —testGetDataSimilarEstatesSettings()
public
testGetDataSimilarEstatesSettings() : mixed
Return values
mixed —testSaveDataSimilarEstatesSettings()
public
testSaveDataSimilarEstatesSettings() : mixed