1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-06 16:46:30 +02:00

refactor: ./tests (#2649)

* refactor: ./tests

* test: consolidate testsuites

* refactor: move config setup into rssbridge.php

Makes it easier to unit test.

* lint
This commit is contained in:
Dag
2022-04-13 21:04:10 +02:00
committed by GitHub
parent 183004f954
commit d62b977394
11 changed files with 20 additions and 42 deletions

View File

@@ -1,11 +1,7 @@
<?php
require_once __DIR__ . '/lib/rssbridge.php';
Configuration::verifyInstallation();
Configuration::loadConfiguration();
Authentication::showPromptIfNeeded();
/*
Move the CLI arguments to the $_GET array, in order to be able to use
rss-bridge from the command line