Do not depend on LWP
[www-backpacktf.git] / t / 50-network.t
CommitLineData
fc54cb3f
MG
1#!/usr/bin/perl -w
2use strict;
3use warnings;
4
8ab94679 5use Test::RequiresInternet 'backpack.tf' => 80;
fc54cb3f
MG
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.0089 seconds and 4 git commands to generate.