summaryrefslogtreecommitdiff
path: root/t/lib/WoWArmory.pm
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2009-12-20 15:52:16 +0100
committerfranck cuny <franck@lumberjaph.net>2009-12-20 15:52:16 +0100
commit391ac7cefcabf85918ad29583253b0dd060b9518 (patch)
tree3f46a139dfc6d01d0e9303f75487ca2804168822 /t/lib/WoWArmory.pm
parentupdate POD (diff)
downloadnet-http-api-391ac7cefcabf85918ad29583253b0dd060b9518.tar.gz
remove and update some tests
Diffstat (limited to '')
-rw-r--r--t/lib/WoWArmory.pm25
1 files changed, 0 insertions, 25 deletions
diff --git a/t/lib/WoWArmory.pm b/t/lib/WoWArmory.pm
deleted file mode 100644
index c2715d1..0000000
--- a/t/lib/WoWArmory.pm
+++ /dev/null
@@ -1,25 +0,0 @@
-package WoWArmory;
-use Moose;
-use MooseX::Net::API;
-use LWP::UserAgent;
-
-net_api_declare wowarmory => (
- base_url => 'http://eu.wowarmory.com/',
- format => 'xml',
- format_mode => 'append',
- useragent => sub {
- my $ua = LWP::UserAgent->new;
- $ua->agent(
- "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1"
- );
- return $ua;
- },
-);
-
-net_api_method character => (
- method => 'GET',
- path => '/character-sheet',
- params => [qw/r n/],
- required => [qw/r n/],
-);
-1;