1
0
mirror of https://github.com/Chouchen/ShikiryuRSS.git synced 2025-10-27 01:23:07 +01:00

Starts refactoring reader

Still missing media:group
This commit is contained in:
Shikiryu
2023-04-06 00:38:26 +02:00
parent a55b05d734
commit 4783124a1d
12 changed files with 288 additions and 111 deletions

View File

@@ -13,6 +13,6 @@ class MediaTest extends TestCase
$first_item = $rss->getFirst();
self::assertEquals('Kirstie Alley, \'Cheers\' and \'Veronica\'s Closet\' star, dead at 71', $first_item->title);
self::assertEquals('https://cdn.cnn.com/cnnnext/dam/assets/221205172141-kirstie-alley-2005-super-169.jpg', $first_item->{'media:group'}->{'media:content'}->url);
self::assertEquals('https://cdn.cnn.com/cnnnext/dam/assets/221205172141-kirstie-alley-2005-super-169.jpg', $first_item->{'media:content'}->url);
}
}