Add a network test for get_users
[www-backpacktf.git] / t / 50-network.t
CommitLineData
fc54cb3f
MG
1#!/usr/bin/perl -w
2use strict;
3use warnings;
4
5use LWP::Online ':skip_all';
6use Test::More tests => 6;
7use WWW::BackpackTF;
8
9my $bp = WWW::BackpackTF->new;
10my $user = $bp->get_users('76561198057056782');
11is $user->{name}, 'gmariusx', '$user->{name} is correct';
12ok exists $user->{$_}, "\$user->{$_} exists" for qw/steamid backpack_value backpack_update backpack_tf_reputation notifications/;
This page took 0.008702 seconds and 4 git commands to generate.