From f11e792f84ab304be836b3057fdadff771a4eaa4 Mon Sep 17 00:00:00 2001 From: Bocki Date: Fri, 25 Mar 2022 10:41:27 +0100 Subject: [PATCH] [maintenance] Fix tests (#2532) --- bridges/EconomistBridge.php | 2 +- bridges/SummitsOnTheAirBridge.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bridges/EconomistBridge.php b/bridges/EconomistBridge.php index f14036e1..973711a5 100644 --- a/bridges/EconomistBridge.php +++ b/bridges/EconomistBridge.php @@ -107,7 +107,7 @@ class EconomistBridge extends FeedExpander { $imgNode = 'figure.css-12eysrk.e3y6nua0'; $categoryNode = 'span.ern1uyf0'; } else { - // pass + return; } $item['content'] = $this->cleanContent($article, $contentNode); diff --git a/bridges/SummitsOnTheAirBridge.php b/bridges/SummitsOnTheAirBridge.php index efe53663..83383330 100644 --- a/bridges/SummitsOnTheAirBridge.php +++ b/bridges/SummitsOnTheAirBridge.php @@ -37,7 +37,7 @@ class SummitsOnTheAirBridge extends BridgeAbstract { Frequency: {$spot['frequency']} MHz
Mode: {$spot['mode']}
Comments: {$spot['comments']} - EOL; +EOL; $this->items[] = array( 'uri' => 'https://sotawatch.sota.org.uk/en/',