]> iEval git - www-backpacktf.git/blobdiff - t/50-network.t
Implement IGetMarketPrices and IGetUserListings
[www-backpacktf.git] / t / 50-network.t
index 3f58417405e0437ed8350738d1791b64177be2a9..0bbb31cc4f476640e16beeacf7b44d9af3caa0a0 100644 (file)
@@ -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/;
This page took 0.015034 seconds and 4 git commands to generate.