Skip to content

Commit

Permalink
More tests (this time for media without an album)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-xo committed Feb 13, 2021
1 parent 7f85d6c commit 08dbc8c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
22 changes: 22 additions & 0 deletions test/Media_RSS_Item_id3v1_artist_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_title_LONG_TITLESTest extends Media_RSS_Item_id3v1_artist_titleTest
{
public static function setUpBeforeClass(): void
{
Media_RSS_Item_id3v1_artist_titleTest::setUpBeforeClass();
Media_RSS_Item::$LONG_TITLES = true;
}

public function getDefaultTitle()
{
return 'ARTIST2 - EXAMPLE2';
}

public function getDefaultSubtitle()
{
return '';
}
}
7 changes: 7 additions & 0 deletions test/Media_RSS_Item_id3v2_artist_title_LONG_TITLESTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php declare(strict_types=1);

use PHPUnit\Framework\TestCase;

class Media_RSS_Item_id3v2_artist_title_LONG_TITLESTest extends Media_RSS_Item_id3v1_artist_title_LONG_TITLESTest
{
}

0 comments on commit 08dbc8c

Please sign in to comment.