Skip to content

Commit

Permalink
Better tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-xo committed Jan 5, 2023
1 parent dcf544b commit e18ccdc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/MixedMediaExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,16 @@ public function test_podcast_has_correct_overridable_metadata()

}

public function test_itunes_type()
{
// generated valid XML
$data = simplexml_load_string(file_get_contents(self::$file));
$itdtd = "http://www.itunes.com/dtds/podcast-1.0.dtd";

// assert itunes:type = serial
$this->assertEmpty($data->channel->children($itdtd)->type);
}

public function test_podcast_has_expected_items_with_default_behaviour(): void
{
// generated valid XML
Expand Down

0 comments on commit e18ccdc

Please sign in to comment.