Skip to content

Commit

Permalink
Add test case for LONG_TITLES
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-xo committed Feb 13, 2021
1 parent c5fb88b commit f4e3a34
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/Media_RSS_Item_id3v1_artist_album_title_LONG_TITLESTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php declare(strict_types=1);

use PHPUnit\Framework\TestCase;

class Media_RSS_Item_id3v1_artist_album_title_LONG_TITLESTest extends Media_RSS_Item_id3v1_artist_album_titleTest
{
public static function setUpBeforeClass(): void
{
Media_RSS_Item_id3v1_artist_album_titleTest::setUpBeforeClass();
Media_RSS_Item::$LONG_TITLES = true;
}

public function getDefaultTitle()
{
return 'ALBUM3 - ARTIST3 - EXAMPLE3';
}

public function getDefaultSubtitle()
{
return '';
}
}

0 comments on commit f4e3a34

Please sign in to comment.