Skip to content

Commit

Permalink
Improve test coverage of Venue
Browse files Browse the repository at this point in the history
  • Loading branch information
davorg committed Aug 20, 2020
1 parent 811cd54 commit 3683689
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions t/05-instantiation.t
Expand Up @@ -79,6 +79,8 @@ is($venue->id, 17_522, 'Got the right venue');
is($venue->displayName, 'O2 Brixton Academy',
'Venue has the correct name');
isa_ok($venue->metroArea, 'Net::Songkick::MetroArea');
# Backwards compatibility
isa_ok($venue->metro_area, 'Net::Songkick::MetroArea');
is($venue->metroArea->displayName, 'London',
'Metro area is in the correct Metro Area');

Expand Down

0 comments on commit 3683689

Please sign in to comment.