aboutsummaryrefslogtreecommitdiff
path: root/tests/Formats/BaseFormatTest.php
diff options
context:
space:
mode:
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)[