aboutsummaryrefslogtreecommitdiff
path: root/tests/Formats/BaseFormatTest.php
diff options
context:
space:
mode:
authorGravatar Dag <me@dvikan.no> 2023-09-25 21:18:48 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-25 21:18:48 +0200
commitcd30c25b08dc5ecd048e54c8abbbecd72309ab5e (patch)
tree5defffb410945e3c4dcff8c2b3b410034588aaba /tests/Formats/BaseFormatTest.php
parente1b911fc1f3416d49c5ad5cc68587f64ab8890eb (diff)
downloadrss-bridge-cd30c25b08dc5ecd048e54c8abbbecd72309ab5e.tar.gz
rss-bridge-cd30c25b08dc5ecd048e54c8abbbecd72309ab5e.tar.zst
rss-bridge-cd30c25b08dc5ecd048e54c8abbbecd72309ab5e.zip
refactor (#3708)
Diffstat (limited to 'tests/Formats/BaseFormatTest.php')
-rw-r--r--tests/Formats/BaseFormatTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Formats/BaseFormatTest.php b/tests/Formats/BaseFormatTest.php
index 30ce1063..71e196f0 100644
--- a/tests/Formats/BaseFormatTest.php
+++ b/tests/Formats/BaseFormatTest.php
@@ -39,7 +39,7 @@ abstract class BaseFormatTest extends TestCase
$items = [];
foreach ($data['items'] as $item) {
- $items[] = new \FeedItem($item);
+ $items[] = \FeedItem::fromArray($item);
}
return (object)[