mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 00:27:27 +02:00
test: add feed item test (#3709)
* test: add feed item test also some refactor * yup * yup
This commit is contained in:
@@ -15,6 +15,7 @@ function getContents(
|
||||
bool $returnFull = false
|
||||
) {
|
||||
$httpClient = RssBridge::getHttpClient();
|
||||
$cache = RssBridge::getCache();
|
||||
|
||||
$httpHeadersNormalized = [];
|
||||
foreach ($httpHeaders as $httpHeader) {
|
||||
@@ -51,7 +52,6 @@ function getContents(
|
||||
$config['proxy'] = Configuration::getConfig('proxy', 'url');
|
||||
}
|
||||
|
||||
$cache = RssBridge::getCache();
|
||||
$cacheKey = 'server_' . $url;
|
||||
|
||||
/** @var Response $cachedResponse */
|
||||
|
Reference in New Issue
Block a user