Skip to content

Commit

Permalink
fix(tests): use assertEquals instead of Cannonicalizing
Browse files Browse the repository at this point in the history
  • Loading branch information
phanan committed May 18, 2024
1 parent 07f95e7 commit c13ea1e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/PoddleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function testParseUrl(): void

private static function assertChannel(Channel $channel): void
{
self::assertEqualsCanonicalizing([
self::assertEquals([
'url' => 'https://phanan.net',
'title' => 'Podcast Feed Parser',
'description' => 'Parse podcast feeds with PHP following PSP-1 Podcast RSS Standard',
Expand Down Expand Up @@ -93,10 +93,10 @@ public function assertEpisodes(EpisodeCollection $episodes): void
/** @var Episode $firstEpisode */
$firstEpisode = $episodes->first();

self::assertEqualsCanonicalizing([
self::assertEquals([
'title' => 'Hiking Treks Trailer',
'guid' => [
'guid' => 'D03EEC9B-B1B4-475B-92C8-54F853FA2A22',
'value' => 'D03EEC9B-B1B4-475B-92C8-54F853FA2A22',
'is_perma_link' => false,
],
'enclosure' => [
Expand All @@ -106,7 +106,7 @@ public function assertEpisodes(EpisodeCollection $episodes): void
],
'metadata' => [
'link' => null,
'pubDate' => 'Tue, 08 Jan 2019 01:15:00 +0000',
'pub_date' => 'Tue, 08 Jan 2019 01:15:00 +0000',
'description' => 'The Sunset Explorers share tips, techniques and recommendations for great hikes',
'duration' => 1079,
'image' => null,
Expand Down

0 comments on commit c13ea1e

Please sign in to comment.