aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Formats/BaseFormatTest.php2
-rw-r--r--tests/Formats/FormatImplementationTest.php2
2 files changed, 2 insertions, 2 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)[
diff --git a/tests/Formats/FormatImplementationTest.php b/tests/Formats/FormatImplementationTest.php
index 55c6335f..03ac6d51 100644
--- a/tests/Formats/FormatImplementationTest.php
+++ b/tests/Formats/FormatImplementationTest.php
@@ -24,7 +24,7 @@ class FormatImplementationTest extends TestCase
public function testClassType($path)
{
$this->setFormat($path);
- $this->assertInstanceOf(FormatInterface::class, $this->obj);
+ $this->assertInstanceOf(FormatAbstract::class, $this->obj);
}
public function dataFormatsProvider()