X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=t%2F50-network.t;h=0bbb31cc4f476640e16beeacf7b44d9af3caa0a0;hb=fa7f4d7f5222dc5e0137267caf76a04d5fb2300a;hp=3f58417405e0437ed8350738d1791b64177be2a9;hpb=fc54cb3f5f8469711453842d83a1136272fd7744;p=www-backpacktf.git diff --git a/t/50-network.t b/t/50-network.t index 3f58417..0bbb31c 100644 --- a/t/50-network.t +++ b/t/50-network.t @@ -2,11 +2,11 @@ use strict; use warnings; -use LWP::Online ':skip_all'; -use Test::More tests => 6; +use Test::RequiresInternet 'backpack.tf' => 80; +use Test::More tests => 5; use WWW::BackpackTF; my $bp = WWW::BackpackTF->new; my $user = $bp->get_users('76561198057056782'); is $user->{name}, 'gmariusx', '$user->{name} is correct'; -ok exists $user->{$_}, "\$user->{$_} exists" for qw/steamid backpack_value backpack_update backpack_tf_reputation notifications/; +ok exists $user->{$_}, "\$user->{$_} exists" for qw/steamid backpack_value backpack_update backpack_tf_reputation/;