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

refactor: FormatFactory (#2832)

This commit is contained in:
Dag
2022-06-22 18:27:20 +02:00
committed by GitHub
parent e9b8a1f9f9
commit af5648d928
5 changed files with 40 additions and 124 deletions

View File

@@ -53,7 +53,6 @@ abstract class BaseFormatTest extends TestCase {
protected function formatData(string $formatName, \stdClass $sample): string {
$formatFac = new FormatFactory();
$formatFac->setWorkingDir(PATH_LIB_FORMATS);
$format = $formatFac->create($formatName);
$format->setItems($sample->items);
$format->setExtraInfos($sample->meta);