mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-22 08:03:52 +02:00
bridges: Fix bridges to pass unit test (#984)
* [DealabsBridge] fixed parameters * [DemonoidBridge] added parameter context names * [DevToBridge] fixed parameters * [ExtremeDownloadBridge] fixed parameters * [GithubIssueBridge] fixed parameters * [InstagramBridge] added parameter context names * [MydealsBridge] fixed parameters * [OnVaSortirBridge] fixed parameters * [ThingyverseBridge] fixed parameters * [HotUKDealsBridge] fixed parameters * [FeedExpanderExample] added proper URI * [GQMagazineBridge] fixed parameters and getDomain() * [MozillaSecurityBridge] fixed filename References #980
This commit is contained in:
@@ -17,27 +17,25 @@ class HotUKDealsBridge extends PepperBridgeAbstract {
|
||||
'hide_expired' => array(
|
||||
'name' => 'Hide expired deals',
|
||||
'type' => 'checkbox',
|
||||
'required' => 'true'
|
||||
'required' => true
|
||||
),
|
||||
'hide_local' => array(
|
||||
'name' => 'Hide local deals',
|
||||
'type' => 'checkbox',
|
||||
'title' => 'Hide deals in physical store',
|
||||
'required' => 'true'
|
||||
'required' => true
|
||||
),
|
||||
'priceFrom' => array(
|
||||
'name' => 'Minimal Price',
|
||||
'type' => 'text',
|
||||
'title' => 'Minmal Price in Pounds',
|
||||
'required' => 'false',
|
||||
'defaultValue' => ''
|
||||
'required' => false
|
||||
),
|
||||
'priceTo' => array(
|
||||
'name' => 'Maximum Price',
|
||||
'type' => 'text',
|
||||
'title' => 'Maximum Price in Pounds',
|
||||
'required' => 'false',
|
||||
'defaultValue' => ''
|
||||
'required' => false
|
||||
),
|
||||
),
|
||||
|
||||
@@ -45,7 +43,7 @@ class HotUKDealsBridge extends PepperBridgeAbstract {
|
||||
'group' => array(
|
||||
'name' => 'Group',
|
||||
'type' => 'list',
|
||||
'required' => 'true',
|
||||
'required' => true,
|
||||
'title' => 'Group whose deals must be displayed',
|
||||
'values' => array(
|
||||
'2DS' => '2ds',
|
||||
@@ -1319,7 +1317,7 @@ class HotUKDealsBridge extends PepperBridgeAbstract {
|
||||
'order' => array(
|
||||
'name' => 'Order by',
|
||||
'type' => 'list',
|
||||
'required' => 'true',
|
||||
'required' => true,
|
||||
'title' => 'Sort order of deals',
|
||||
'values' => array(
|
||||
'From the most to the least hot deal' => '-hot',
|
||||
|
Reference in New Issue
Block a user