Subject: | Test t/Artist.t fails on line 89 |
It seems that Musicbrainz have started returning begin-date in the
format YYYY-MM instead of YYYY for Metallica, thus the current test set
fails. I have tried checking beging date for a few artists and it seems
that the format varies from artist to artist.
So if 1981 is changed to 1981-10 in t/Artist.t line 89 the problem
should be solved for now.
Thanks for the work you put into making this module ;)
-Thomas Adamcik
Subject: | webservice-musicbrainz.patch |
--- WebService-MusicBrainz-0.02/t/Artist.t 2006-04-30 18:55:59.000000000 +0200
+++ WebService-MusicBrainz-0.02-patch/t/Artist.t 2006-09-15 12:05:43.000000000 +0200
@@ -86,7 +86,7 @@
ok( $artist_inc_artist_rels->name() eq "Metallica", 'check artist name' );
ok( $artist_inc_artist_rels->sort_name() eq "Metallica", 'check artist sort name' );
-ok( $artist_inc_artist_rels->life_span_begin() eq "1981", 'check artist life span begin' );
+ok( $artist_inc_artist_rels->life_span_begin() eq "1981-10", 'check artist life span begin - ' . $artist_inc_artist_rels->life_span_begin() );
my $artist_inc_relation_list = $artist_inc_artist_rels->relation_list();
ok( $artist_inc_relation_list, 'get artist relation list' );