mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 23:57:29 +02:00
refactor (#3708)
This commit is contained in:
@@ -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)[
|
||||
|
@@ -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()
|
||||
|
Reference in New Issue
Block a user