bridges: Fix bridges that don't pass the unit test
This commit is contained in:
parent
d532d0e0c4
commit
e0db349a57
24 changed files with 1 additions and 44 deletions
|
@ -10,7 +10,6 @@ class AllocineFRBridge extends BridgeAbstract {
|
|||
'category' => array(
|
||||
'name' => 'category',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'exampleValue' => 'Faux Raccord',
|
||||
'title' => 'Select your category',
|
||||
'values' => array(
|
||||
|
|
|
@ -16,7 +16,6 @@ class AmazonBridge extends BridgeAbstract {
|
|||
'sort' => array(
|
||||
'name' => 'Sort by',
|
||||
'type' => 'list',
|
||||
'required' => false,
|
||||
'values' => array(
|
||||
'Relevance' => 'relevanceblender',
|
||||
'Price: Low to High' => 'price-asc-rank',
|
||||
|
@ -29,7 +28,6 @@ class AmazonBridge extends BridgeAbstract {
|
|||
'tld' => array(
|
||||
'name' => 'Country',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Australia' => 'com.au',
|
||||
'Brazil' => 'com.br',
|
||||
|
|
|
@ -19,7 +19,6 @@ class AmazonPriceTrackerBridge extends BridgeAbstract {
|
|||
'tld' => array(
|
||||
'name' => 'Country',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Australia' => 'com.au',
|
||||
'Brazil' => 'com.br',
|
||||
|
|
|
@ -17,7 +17,6 @@ class BundesbankBridge extends BridgeAbstract {
|
|||
self::PARAM_LANG => array(
|
||||
'name' => 'Language',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'defaultValue' => self::LANG_DE,
|
||||
'values' => array(
|
||||
'English' => self::LANG_EN,
|
||||
|
|
|
@ -15,7 +15,6 @@ class ContainerLinuxReleasesBridge extends BridgeAbstract {
|
|||
'channel' => [
|
||||
'name' => 'Release Channel',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'defaultValue' => self::STABLE,
|
||||
'values' => [
|
||||
'Stable' => self::STABLE,
|
||||
|
|
|
@ -15,13 +15,11 @@ class DealabsBridge extends PepperBridgeAbstract {
|
|||
'hide_expired' => array(
|
||||
'name' => 'Masquer les éléments expirés',
|
||||
'type' => 'checkbox',
|
||||
'required' => true
|
||||
),
|
||||
'hide_local' => array(
|
||||
'name' => 'Masquer les deals locaux',
|
||||
'type' => 'checkbox',
|
||||
'title' => 'Masquer les deals en magasins physiques',
|
||||
'required' => true
|
||||
),
|
||||
'priceFrom' => array(
|
||||
'name' => 'Prix minimum',
|
||||
|
@ -41,7 +39,6 @@ class DealabsBridge extends PepperBridgeAbstract {
|
|||
'group' => array(
|
||||
'name' => 'Groupe',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Groupe dont il faut afficher les deals',
|
||||
'values' => array(
|
||||
'Abonnements internet' => 'abonnements-internet',
|
||||
|
@ -957,7 +954,6 @@ class DealabsBridge extends PepperBridgeAbstract {
|
|||
'order' => array(
|
||||
'name' => 'Trier par',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Ordre de tri des deals',
|
||||
'values' => array(
|
||||
'Du deal le plus Hot au moins Hot' => '',
|
||||
|
|
|
@ -15,7 +15,6 @@ class DesoutterBridge extends BridgeAbstract {
|
|||
'news_lang' => array(
|
||||
'name' => 'Language',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Select your language',
|
||||
'defaultValue' => 'Corporate',
|
||||
'values' => array(
|
||||
|
@ -66,7 +65,6 @@ class DesoutterBridge extends BridgeAbstract {
|
|||
'industry_lang' => array(
|
||||
'name' => 'Language',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Select your language',
|
||||
'defaultValue' => 'Corporate',
|
||||
'values' => array(
|
||||
|
@ -117,7 +115,6 @@ class DesoutterBridge extends BridgeAbstract {
|
|||
'full' => array(
|
||||
'name' => 'Load full articles',
|
||||
'type' => 'checkbox',
|
||||
'required' => false,
|
||||
'title' => 'Enable to load the full article for each item'
|
||||
)
|
||||
)
|
||||
|
|
|
@ -15,7 +15,6 @@ class ExtremeDownloadBridge extends BridgeAbstract {
|
|||
'filter' => array(
|
||||
'name' => 'Type de contenu',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Type de contenu à suivre : Téléchargement, Streaming ou les deux',
|
||||
'values' => array(
|
||||
'Streaming et Téléchargement' => 'both',
|
||||
|
|
|
@ -11,7 +11,6 @@ class FDroidBridge extends BridgeAbstract {
|
|||
'u' => array(
|
||||
'name' => 'Widget selection',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Latest added apps' => 'added',
|
||||
'Latest updated apps' => 'updated'
|
||||
|
|
|
@ -11,7 +11,6 @@ class FeedExpanderExampleBridge extends FeedExpander {
|
|||
'version' => array(
|
||||
'name' => 'Version',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Select your feed format/version',
|
||||
'defaultValue' => 'RSS 2.0',
|
||||
'values' => array(
|
||||
|
|
|
@ -10,7 +10,6 @@ class GBAtempBridge extends BridgeAbstract {
|
|||
'type' => array(
|
||||
'name' => 'Type',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'News' => 'N',
|
||||
'Reviews' => 'R',
|
||||
|
|
|
@ -17,13 +17,11 @@ class HotUKDealsBridge extends PepperBridgeAbstract {
|
|||
'hide_expired' => array(
|
||||
'name' => 'Hide expired deals',
|
||||
'type' => 'checkbox',
|
||||
'required' => true
|
||||
),
|
||||
'hide_local' => array(
|
||||
'name' => 'Hide local deals',
|
||||
'type' => 'checkbox',
|
||||
'title' => 'Hide deals in physical store',
|
||||
'required' => true
|
||||
),
|
||||
'priceFrom' => array(
|
||||
'name' => 'Minimal Price',
|
||||
|
@ -43,7 +41,6 @@ class HotUKDealsBridge extends PepperBridgeAbstract {
|
|||
'group' => array(
|
||||
'name' => 'Group',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Group whose deals must be displayed',
|
||||
'values' => array(
|
||||
'2DS' => '2ds',
|
||||
|
@ -1317,7 +1314,6 @@ class HotUKDealsBridge extends PepperBridgeAbstract {
|
|||
'order' => array(
|
||||
'name' => 'Order by',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Sort order of deals',
|
||||
'values' => array(
|
||||
'From the most to the least hot deal' => '-hot',
|
||||
|
|
|
@ -21,7 +21,6 @@ class InstructablesBridge extends BridgeAbstract {
|
|||
'category' => array(
|
||||
'name' => 'Category',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Play' => array(
|
||||
'All' => '/play/',
|
||||
|
@ -240,7 +239,6 @@ class InstructablesBridge extends BridgeAbstract {
|
|||
'filter' => array(
|
||||
'name' => 'Filter',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Featured' => ' ',
|
||||
'Recent' => 'recent/',
|
||||
|
|
|
@ -34,7 +34,6 @@ class JustETFBridge extends BridgeAbstract {
|
|||
'global' => array(
|
||||
'lang' => array(
|
||||
'name' => 'Language',
|
||||
'required' => true,
|
||||
'type' => 'list',
|
||||
'values' => array(
|
||||
'Englisch' => 'en',
|
||||
|
|
|
@ -11,7 +11,6 @@ class KununuBridge extends BridgeAbstract {
|
|||
'site' => array(
|
||||
'name' => 'Site',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Select your site',
|
||||
'values' => array(
|
||||
'Austria' => 'at',
|
||||
|
@ -23,7 +22,6 @@ class KununuBridge extends BridgeAbstract {
|
|||
'full' => array(
|
||||
'name' => 'Load full article',
|
||||
'type' => 'checkbox',
|
||||
'required' => false,
|
||||
'exampleValue' => 'checked',
|
||||
'title' => 'Activate to load full article'
|
||||
)
|
||||
|
|
|
@ -13,7 +13,6 @@ class MangareaderBridge extends BridgeAbstract {
|
|||
'category' => array(
|
||||
'name' => 'Category',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'All' => 'all',
|
||||
'Action' => 'action',
|
||||
|
|
|
@ -17,13 +17,11 @@ class MydealsBridge extends PepperBridgeAbstract {
|
|||
'hide_expired' => array(
|
||||
'name' => 'Abgelaufenes ausblenden',
|
||||
'type' => 'checkbox',
|
||||
'required' => true
|
||||
),
|
||||
'hide_local' => array(
|
||||
'name' => 'Lokales ausblenden',
|
||||
'type' => 'checkbox',
|
||||
'title' => 'Deals im physischen Geschäft ausblenden',
|
||||
'required' => true
|
||||
),
|
||||
'priceFrom' => array(
|
||||
'name' => 'Minimaler Preis',
|
||||
|
@ -43,7 +41,6 @@ class MydealsBridge extends PepperBridgeAbstract {
|
|||
'group' => array(
|
||||
'name' => 'Gruppen',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Gruppe, deren Deals angezeigt werden müssen',
|
||||
'values' => array(
|
||||
'Elektronik' => 'elektronik',
|
||||
|
@ -66,7 +63,6 @@ class MydealsBridge extends PepperBridgeAbstract {
|
|||
'order' => array(
|
||||
'name' => 'sortieren nach',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Sortierung der deals',
|
||||
'values' => array(
|
||||
'Vom heißesten zum kältesten Deal' => '',
|
||||
|
|
|
@ -11,7 +11,6 @@ class NineGagBridge extends BridgeAbstract {
|
|||
'd' => array(
|
||||
'name' => 'Section',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Hot' => 'hot',
|
||||
'Trending' => 'trending',
|
||||
|
@ -28,7 +27,6 @@ class NineGagBridge extends BridgeAbstract {
|
|||
'g' => array(
|
||||
'name' => 'Section',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Animals' => 'cute',
|
||||
'Anime & Manga' => 'anime-manga',
|
||||
|
@ -88,7 +86,6 @@ class NineGagBridge extends BridgeAbstract {
|
|||
't' => array(
|
||||
'name' => 'Type',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Hot' => 'hot',
|
||||
'Fresh' => 'fresh',
|
||||
|
|
|
@ -21,8 +21,7 @@ class NotAlwaysBridge extends BridgeAbstract {
|
|||
'Friendly' => 'friendly',
|
||||
'Hopeless' => 'hopeless',
|
||||
'Unfiltered' => 'unfiltered'
|
||||
),
|
||||
'required' => true
|
||||
)
|
||||
)
|
||||
));
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@ class OnVaSortirBridge extends FeedExpander {
|
|||
'city' => array(
|
||||
'name' => 'City',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Agen' => 'Agen',
|
||||
'Ajaccio' => 'Ajaccio',
|
||||
|
|
|
@ -11,7 +11,6 @@ class OpenClassroomsBridge extends BridgeAbstract {
|
|||
'u' => array(
|
||||
'name' => 'Catégorie',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'values' => array(
|
||||
'Arts & Culture' => 'arts',
|
||||
'Code' => 'code',
|
||||
|
|
|
@ -18,7 +18,6 @@ class SkimfeedBridge extends BridgeAbstract {
|
|||
'box_channel' => array(
|
||||
'name' => 'Channel',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Select your channel',
|
||||
'values' => array(
|
||||
'Hacker News' => '/news/hacker-news.html',
|
||||
|
@ -68,7 +67,6 @@ class SkimfeedBridge extends BridgeAbstract {
|
|||
'tech_channel' => array(
|
||||
'name' => 'Tech channel',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Select your tech channel',
|
||||
'values' => array(
|
||||
'Agg' => array(
|
||||
|
|
|
@ -9,7 +9,6 @@ class WikiLeaksBridge extends BridgeAbstract {
|
|||
'category' => array(
|
||||
'name' => 'Category',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Select your category',
|
||||
'values' => array(
|
||||
'News' => '-News-',
|
||||
|
@ -28,7 +27,6 @@ class WikiLeaksBridge extends BridgeAbstract {
|
|||
'teaser' => array(
|
||||
'name' => 'Show teaser',
|
||||
'type' => 'checkbox',
|
||||
'required' => false,
|
||||
'title' => 'If checked feeds will display the teaser',
|
||||
'defaultValue' => true
|
||||
)
|
||||
|
|
|
@ -13,7 +13,6 @@ class WikipediaBridge extends BridgeAbstract {
|
|||
'language' => array(
|
||||
'name' => 'Language',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'Select your language',
|
||||
'exampleValue' => 'English',
|
||||
'values' => array(
|
||||
|
@ -27,7 +26,6 @@ class WikipediaBridge extends BridgeAbstract {
|
|||
'subject' => array(
|
||||
'name' => 'Subject',
|
||||
'type' => 'list',
|
||||
'required' => true,
|
||||
'title' => 'What subject are you interested in?',
|
||||
'exampleValue' => 'Today\'s featured article',
|
||||
'values' => array(
|
||||
|
|
Loading…
Reference in a new issue